Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to detect double-click on desktop window? Pin
Cristian Amarie29-Dec-06 23:06
Cristian Amarie29-Dec-06 23:06 
QuestionMessage Removed Pin
29-Dec-06 7:59
Armond Sarkisian29-Dec-06 7:59 
AnswerRe: Beginner Question -- Please help Pin
David Crow29-Dec-06 8:04
David Crow29-Dec-06 8:04 
GeneralMessage Removed Pin
29-Dec-06 8:51
Armond Sarkisian29-Dec-06 8:51 
GeneralRe: Beginner Question -- Please help Pin
David Crow29-Dec-06 8:57
David Crow29-Dec-06 8:57 
AnswerRe: Beginner Question -- Please help Pin
Hamid_RT29-Dec-06 17:14
Hamid_RT29-Dec-06 17:14 
QuestionVC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 6:44
professionalJoan M29-Dec-06 6:44 
AnswerRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 7:00
mveCPallini29-Dec-06 7:00 
as any other object, dialog destructor is called when it goes out of scope (when is allocated on the stack), or when you delete its pointer (dynamically allocated). Please note that after EndDialog() ends the destructor is not automatically called, hence, if you need any cleanup at window closing, you have to override the OnClose handler and perform the cleanup there.
hope that helps.

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 7:04
professionalJoan M29-Dec-06 7:04 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 7:18
mveCPallini29-Dec-06 7:18 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 7:29
professionalJoan M29-Dec-06 7:29 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 8:18
mveCPallini29-Dec-06 8:18 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 9:20
professionalJoan M29-Dec-06 9:20 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
David Crow29-Dec-06 7:55
David Crow29-Dec-06 7:55 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 9:22
professionalJoan M29-Dec-06 9:22 
QuestionRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
David Crow29-Dec-06 7:50
David Crow29-Dec-06 7:50 
AnswerRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 7:56
professionalJoan M29-Dec-06 7:56 
AnswerRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Gary R. Wheeler30-Dec-06 4:07
Gary R. Wheeler30-Dec-06 4:07 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M30-Dec-06 4:39
professionalJoan M30-Dec-06 4:39 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M30-Dec-06 4:41
professionalJoan M30-Dec-06 4:41 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Gary R. Wheeler30-Dec-06 8:29
Gary R. Wheeler30-Dec-06 8:29 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M30-Dec-06 8:36
professionalJoan M30-Dec-06 8:36 
Questionscan string for characters \ / ? * : " Pin
rolfhorror29-Dec-06 6:05
rolfhorror29-Dec-06 6:05 
AnswerRe: scan string for characters \ / ? * : " Pin
Joan M29-Dec-06 6:49
professionalJoan M29-Dec-06 6:49 
GeneralRe: scan string for characters \ / ? * : " Pin
rolfhorror29-Dec-06 7:24
rolfhorror29-Dec-06 7:24 

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.