Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateProcess stack overflow Pin
Michael Sobers22-Nov-04 10:23
Michael Sobers22-Nov-04 10:23 
GeneralRe: CreateProcess stack overflow Pin
BaldwinMartin22-Nov-04 12:08
BaldwinMartin22-Nov-04 12:08 
QuestionHow do you properly usethe Doc/View Pin
Larry Mills Sr20-Nov-04 11:45
Larry Mills Sr20-Nov-04 11:45 
AnswerRe: How do you properly usethe Doc/View Pin
qcha0s20-Nov-04 12:06
qcha0s20-Nov-04 12:06 
GeneralIncrementing object names in MFC Pin
Sgt.Xyclone20-Nov-04 9:33
Sgt.Xyclone20-Nov-04 9:33 
GeneralRe: Incrementing object names in MFC Pin
PJ Arends20-Nov-04 9:54
professionalPJ Arends20-Nov-04 9:54 
QuestionSNMP Anyone? Pin
qcha0s20-Nov-04 7:12
qcha0s20-Nov-04 7:12 
AnswerRe: SNMP Anyone? Pin
BaldwinMartin20-Nov-04 17:09
BaldwinMartin20-Nov-04 17:09 
AnswerRe: SNMP Anyone? Pin
Henry miller22-Nov-04 2:52
Henry miller22-Nov-04 2:52 
Generalwould like to launch request "SHOW TABLE STATUS LIKE 'Clients'" in VC++ Pin
Member 124237320-Nov-04 4:43
Member 124237320-Nov-04 4:43 
QuestionHow do I know when CDialog is deleted by a destructor? Pin
tip231020-Nov-04 4:25
tip231020-Nov-04 4:25 
AnswerRe: How do I know when CDialog is deleted by a destructor? Pin
Maximilien20-Nov-04 5:29
Maximilien20-Nov-04 5:29 
GeneralRe: How do I know when CDialog is deleted by a destructor? Pin
tip231020-Nov-04 6:00
tip231020-Nov-04 6:00 
GeneralRe: How do I know when CDialog is deleted by a destructor? Pin
Maximilien20-Nov-04 6:08
Maximilien20-Nov-04 6:08 
(my bad )

WM_DESTROY destroy the dialog "window", not the dialog class.

in your example, the dialog class will be created when the variable in instanciated, the dialog "window will be created at the DoModal call.

the dialog "window" will be destroyed when the DoModal finish, and the class will be deleted when the variable goes out of scope.

that's one reason you cannot access UI controls of your dialog before the dialog "window" is created; or after it is destroyed.







Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: How do I know when CDialog is deleted by a destructor? Pin
tip231020-Nov-04 6:20
tip231020-Nov-04 6:20 
GeneralRe: How do I know when CDialog is deleted by a destructor? Pin
Maximilien20-Nov-04 9:14
Maximilien20-Nov-04 9:14 
GeneralWIN Management WMI Service (64 bit env on IA-64) doesn't seem to load 32 bit dlls Pin
Member 39957420-Nov-04 3:28
Member 39957420-Nov-04 3:28 
GeneralRe: WIN Management WMI Service (64 bit env on IA-64) doesn't seem to load 32 bit dlls Pin
BaldwinMartin20-Nov-04 17:04
BaldwinMartin20-Nov-04 17:04 
GeneralRe: WIN Management WMI Service (64 bit env on IA-64) doesn't seem to load 32 bit dlls Pin
Member 39957420-Nov-04 19:49
Member 39957420-Nov-04 19:49 
GeneralRe: WIN Management WMI Service (64 bit env on IA-64) doesn't seem to load 32 bit dlls Pin
BaldwinMartin21-Nov-04 7:28
BaldwinMartin21-Nov-04 7:28 
GeneralRe: WIN Management WMI Service (64 bit env on IA-64) doesn't seem to load 32 bit dlls Pin
BaldwinMartin22-Nov-04 7:52
BaldwinMartin22-Nov-04 7:52 
Generalperfomance monitor object Counter log issue on Windows 2003(WMI) Pin
Member 39957420-Nov-04 3:24
Member 39957420-Nov-04 3:24 
GeneralRe: perfomance monitor object Counter log issue on Windows 2003(WMI) Pin
Member 39957420-Nov-04 20:18
Member 39957420-Nov-04 20:18 
Generalauthentificated smtp Pin
Spiritofamerica20-Nov-04 3:07
Spiritofamerica20-Nov-04 3:07 
GeneralRe: authentificated smtp Pin
Ravi Bhavnani20-Nov-04 6:20
professionalRavi Bhavnani20-Nov-04 6:20 

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.