Click here to Skip to main content
15,885,128 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to determine if a GDI object handle is valid? Pin
Michael Dunn28-Sep-08 12:32
sitebuilderMichael Dunn28-Sep-08 12:32 
QuestionSharing DLL data among different process Pin
ForNow27-Sep-08 19:07
ForNow27-Sep-08 19:07 
Questionhow to catch the redraw event of flash control? Pin
61934514227-Sep-08 16:51
61934514227-Sep-08 16:51 
QuestionDialog and Propertypage question? Pin
Rangarajan Varadan27-Sep-08 16:48
Rangarajan Varadan27-Sep-08 16:48 
QuestionWhat is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
aygrhnwms30427-Sep-08 16:32
aygrhnwms30427-Sep-08 16:32 
QuestionRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
David Crow27-Sep-08 16:38
David Crow27-Sep-08 16:38 
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
aygrhnwms30427-Sep-08 21:02
aygrhnwms30427-Sep-08 21:02 
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
Ali Tavakol28-Sep-08 4:47
Ali Tavakol28-Sep-08 4:47 
WM_DESTROY is sent as a result of calling DestroyWindow.

WM_CLOSE is sent to you to close the window. but you may close it or not. it's just a request. you can accept the request by calling the parent class's OnClose().

WM_DESTROY is sent when the window is about to be destroyed even if you don't like to close it. It will be closed anyway and then the class destructor will be called.
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
Michael Dunn28-Sep-08 12:34
sitebuilderMichael Dunn28-Sep-08 12:34 
Questionreading text file Pin
nomi khan27-Sep-08 12:55
nomi khan27-Sep-08 12:55 
AnswerRe: reading text file Pin
David Crow27-Sep-08 16:40
David Crow27-Sep-08 16:40 
AnswerRe: reading text file Pin
Hamid_RT29-Sep-08 7:31
Hamid_RT29-Sep-08 7:31 
QuestionMessage Queues for MFC windows classes Pin
sawerr27-Sep-08 7:51
sawerr27-Sep-08 7:51 
AnswerRe: Message Queues for MFC windows classes Pin
Mark Salsbery27-Sep-08 8:24
Mark Salsbery27-Sep-08 8:24 
GeneralRe: Message Queues for MFC windows classes Pin
sawerr27-Sep-08 9:58
sawerr27-Sep-08 9:58 
GeneralRe: Message Queues for MFC windows classes Pin
Mark Salsbery27-Sep-08 10:08
Mark Salsbery27-Sep-08 10:08 
GeneralRe: Message Queues for MFC windows classes Pin
sawerr27-Sep-08 10:46
sawerr27-Sep-08 10:46 
Questionan always-wrong password Pin
Joseph Marzbani27-Sep-08 4:50
Joseph Marzbani27-Sep-08 4:50 
AnswerRe: an always-wrong password Pin
Paul Conrad27-Sep-08 7:18
professionalPaul Conrad27-Sep-08 7:18 
AnswerRe: an always-wrong password Pin
Iain Clarke, Warrior Programmer27-Sep-08 11:23
Iain Clarke, Warrior Programmer27-Sep-08 11:23 
QuestionHow to decode a wav file Pin
ice87111727-Sep-08 4:04
ice87111727-Sep-08 4:04 
JokeRe: How to decode a wav file Pin
followait27-Sep-08 4:11
followait27-Sep-08 4:11 
GeneralRe: How to decode a wav file Pin
Joseph Marzbani27-Sep-08 4:54
Joseph Marzbani27-Sep-08 4:54 
QuestionRe: How to decode a wav file [modified] Pin
CPallini27-Sep-08 6:04
mveCPallini27-Sep-08 6:04 
AnswerRe: How to decode a wav file Pin
Hamid_RT29-Sep-08 7:28
Hamid_RT29-Sep-08 7:28 

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.