Click here to Skip to main content
15,904,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: authentificated smtp Pin
BaldwinMartin20-Nov-04 17:19
BaldwinMartin20-Nov-04 17:19 
GeneralC++ program to perform Binary Tree operations Pin
ftrbinom,oiunomin20-Nov-04 2:59
ftrbinom,oiunomin20-Nov-04 2:59 
GeneralRe: C++ program to perform Binary Tree operations Pin
JWood20-Nov-04 10:17
JWood20-Nov-04 10:17 
GeneralPlease Help:: CEdit Pin
TooLeeDiN20-Nov-04 0:05
TooLeeDiN20-Nov-04 0:05 
GeneralRe: Please Help:: CEdit Pin
Jack Puppy20-Nov-04 0:54
Jack Puppy20-Nov-04 0:54 
GeneralRe: Please Help:: CEdit Pin
Sujan Christo20-Nov-04 1:27
Sujan Christo20-Nov-04 1:27 

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.