Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to monitor the printer? Pin
David Crow27-Jul-05 4:50
David Crow27-Jul-05 4:50 
GeneralUsing own controls in CFileDialog Pin
cbusgut27-Jul-05 2:48
cbusgut27-Jul-05 2:48 
GeneralGetting the item from toolbar Pin
Raul Simcic27-Jul-05 2:41
Raul Simcic27-Jul-05 2:41 
Generalpointer of last occurance of word Pin
itkid27-Jul-05 2:36
itkid27-Jul-05 2:36 
GeneralRe: pointer of last occurance of word Pin
David Crow27-Jul-05 2:54
David Crow27-Jul-05 2:54 
GeneralRe: pointer of last occurance of word Pin
Fred96727-Jul-05 3:04
Fred96727-Jul-05 3:04 
GeneralRe: pointer of last occurance of word Pin
David Crow27-Jul-05 3:12
David Crow27-Jul-05 3:12 
GeneralRe: pointer of last occurance of word Pin
itkid18-Nov-05 9:58
itkid18-Nov-05 9:58 
GeneralWindows Server 2003 and ISAPIs Pin
GuimaSun27-Jul-05 2:30
GuimaSun27-Jul-05 2:30 
GeneralBCH Encoder Pin
Abbas_Riazi27-Jul-05 2:00
professionalAbbas_Riazi27-Jul-05 2:00 
GeneralFile Saving Problem, ofstream. Pin
tomek1827-Jul-05 1:22
tomek1827-Jul-05 1:22 
GeneralRe: File Saving Problem, ofstream. Pin
Bob Stanneveld27-Jul-05 1:41
Bob Stanneveld27-Jul-05 1:41 
QuestionDialogBox in a DLL? Pin
Larsson27-Jul-05 1:07
Larsson27-Jul-05 1:07 
AnswerRe: DialogBox in a DLL? Pin
Ray Kinsella27-Jul-05 2:24
Ray Kinsella27-Jul-05 2:24 
GeneralRe: DialogBox in a DLL? Pin
Larsson27-Jul-05 2:48
Larsson27-Jul-05 2:48 
Generalstrangely modeles dialog box working even when i didnt destroy object Pin
sayup27-Jul-05 1:02
sayup27-Jul-05 1:02 
hello,
I ahve created a dialog based application.I have inserted 6 menu options voz dialog1,dialog2,dialog3,....dialog6 in the dialog .On clicking of these menu opions i am popping 6 different modeless dialog.here is the code written for it
midialog *d;//class for dialog resource
d=new midialog;
d->Create(IDD_DIALOG1);
d->ShowWindow(SW_SHOW);
To close it i either click on OK or Cancel or Red cross button and then i close the parent window.It strangely doesn't give an error.I was thinking that for modeless dialog you need to override OnCancel,OnClose functions and call DestroyWindow() in them.Also PostNcDestroy function is necessary.but i ahvent done anything?why then is code running?
Secondly should the second statement in above code be d=new midialog(this);
plz reply
i am in fix


thanks
GeneralRe: strangely modeles dialog box working even when i didnt destroy object Pin
Rage27-Jul-05 1:35
professionalRage27-Jul-05 1:35 
GeneralRe: strangely modeles dialog box working even when i didnt destroy object Pin
sayup27-Jul-05 2:27
sayup27-Jul-05 2:27 
GeneralRe: strangely modeles dialog box working even when i didnt destroy object Pin
sayup27-Jul-05 18:56
sayup27-Jul-05 18:56 
GeneralSSL security for website Pin
Sushant Patil27-Jul-05 0:55
Sushant Patil27-Jul-05 0:55 
GeneralCDialogBar and CFrameWnd Pin
Maverick27-Jul-05 0:43
Maverick27-Jul-05 0:43 
GeneralRe: CDialogBar and CFrameWnd Pin
James R. Twine27-Jul-05 3:08
James R. Twine27-Jul-05 3:08 
GeneralFTP Problem Pin
Richard Hudson27-Jul-05 0:06
Richard Hudson27-Jul-05 0:06 
GeneralRe: FTP Problem Pin
mark novak27-Jul-05 1:21
mark novak27-Jul-05 1:21 
GeneralCListCtrl / Select item Pin
P-Rex27-Jul-05 0:03
P-Rex27-Jul-05 0:03 

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.