Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get the Close button object ? Pin
_AnsHUMAN_ 10-Apr-06 20:34
_AnsHUMAN_ 10-Apr-06 20:34 
GeneralRe: How to get the Close button object ? Pin
Sarvan AL10-Apr-06 21:11
Sarvan AL10-Apr-06 21:11 
GeneralRe: How to get the Close button object ? Pin
Ryan Binns11-Apr-06 0:13
Ryan Binns11-Apr-06 0:13 
Questiondecryption of file Pin
code6610-Apr-06 19:31
code6610-Apr-06 19:31 
AnswerRe: decryption of file Pin
thatsme_cool10-Apr-06 19:41
thatsme_cool10-Apr-06 19:41 
GeneralRe: decryption of file Pin
thatsme_cool10-Apr-06 19:43
thatsme_cool10-Apr-06 19:43 
GeneralRe: decryption of file Pin
code6610-Apr-06 23:31
code6610-Apr-06 23:31 
QuestionDoModal error Pin
parichaybp10-Apr-06 19:15
parichaybp10-Apr-06 19:15 
Hi,

i have new button on sigle click i want a dialog window to open i have declared variables as follows..

can anyone help to solve this problem..??

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\DesktopSearch\UpdateDlg.cpp(182) : error C2228: left of '.DoModal' must have class/struct/union type
Error executing cl.exe.

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

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 
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 

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.