Click here to Skip to main content
15,930,182 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DoModal error Pin
Nibu babu thomas10-Apr-06 19:19
Nibu babu thomas10-Apr-06 19:19 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 19:27
parichaybp10-Apr-06 19:27 
GeneralRe: DoModal error Pin
Nibu babu thomas10-Apr-06 19:29
Nibu babu thomas10-Apr-06 19:29 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 19:36
parichaybp10-Apr-06 19:36 
GeneralRe: DoModal error Pin
Nibu babu thomas10-Apr-06 19:38
Nibu babu thomas10-Apr-06 19:38 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 19:42
parichaybp10-Apr-06 19:42 
GeneralRe: DoModal error Pin
Hamid_RT10-Apr-06 20:28
Hamid_RT10-Apr-06 20:28 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 21:31
parichaybp10-Apr-06 21:31 
Hi white sky,

the problem is i have new button in Update dialog window when i click on new button i have to open create dialog window ..

so for that i declared CCreateDlg *m_dCreateDlg; member

can u plz help me solve this error
-----------
UpdateDlg.h

#include "StatusDlg.h" // Added by ClassView
#include "CreateDlg.h" // Added by ClassView

private:
CStatusDlg m_dStatusDlg;

class CCreateDlg;
//Then declare a pointer:
CCreateDlg *m_dCreateDlg;
---------------------------------------

--------------------

// UpdateDlg.cpp : implementation file
//

#include "stdafx.h"
#include "DesktopSearch.h"
#include "StatusDlg.h"
#include "CreateDlg.h"
#include "UpdateDlg.h"
#include "FoldersDialog.h"


void CUpdateDlg::OnNew()
{
// TODO: Add your control notification handler code here

m_dCreateDlg->DoModal();
}


---------------------------------------------------------------
--------------------Configuration: DesktopSearch - Win32 Debug--------------------
Compiling...
UpdateDlg.cpp
D:\Parichay\DesktopSearch\UpdateDlg.cpp(184) : error C2027: use of undefined type 'CCreateDlg'
d:\parichay\desktopsearch\updatedlg.h(58) : see declaration of 'CCreateDlg'
D:\Parichay\DesktopSearch\UpdateDlg.cpp(184) : error C2227: left of '->DoModal' must point to class/struct/union
Error executing cl.exe.

DesktopSearch.exe - 2 error(s), 0 warning(s)



-- modified at 3:33 Tuesday 11th April, 2006
GeneralRe: DoModal error Pin
Hamid_RT10-Apr-06 22:43
Hamid_RT10-Apr-06 22:43 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 22:53
parichaybp10-Apr-06 22:53 
GeneralRe: DoModal error Pin
Hamid_RT10-Apr-06 23:08
Hamid_RT10-Apr-06 23:08 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 23:27
parichaybp10-Apr-06 23:27 
GeneralRe: DoModal error Pin
Hamid_RT11-Apr-06 1:28
Hamid_RT11-Apr-06 1:28 
GeneralRe: DoModal error Pin
parichaybp10-Apr-06 22:59
parichaybp10-Apr-06 22:59 
GeneralRe: DoModal error Pin
Hamid_RT10-Apr-06 23:09
Hamid_RT10-Apr-06 23:09 
AnswerRe: DoModal error Pin
_AnsHUMAN_ 10-Apr-06 20:32
_AnsHUMAN_ 10-Apr-06 20:32 
Questionenums Pin
HakunaMatada10-Apr-06 19:04
HakunaMatada10-Apr-06 19:04 
AnswerRe: enums Pin
thatsme_cool10-Apr-06 19:10
thatsme_cool10-Apr-06 19:10 
GeneralRe: enums Pin
HakunaMatada10-Apr-06 19:12
HakunaMatada10-Apr-06 19:12 
AnswerRe: enums Pin
Naveen10-Apr-06 19:14
Naveen10-Apr-06 19:14 
GeneralRe: enums Pin
HakunaMatada10-Apr-06 19:26
HakunaMatada10-Apr-06 19:26 
GeneralRe: enums Pin
Naveen10-Apr-06 19:32
Naveen10-Apr-06 19:32 
GeneralRe: enums Pin
HakunaMatada10-Apr-06 19:38
HakunaMatada10-Apr-06 19:38 
AnswerRe: enums Pin
itkid10-Apr-06 19:50
itkid10-Apr-06 19:50 
QuestionHow to use RunModalLoop? Pin
Sarvan AL10-Apr-06 18:41
Sarvan AL10-Apr-06 18:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.