Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
David Crow8-May-08 16:21
David Crow8-May-08 16:21 
QuestionRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Rajesh R Subramanian8-May-08 19:19
professionalRajesh R Subramanian8-May-08 19:19 
AnswerRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Nitheesh George8-May-08 19:53
Nitheesh George8-May-08 19:53 
AnswerRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Hamid_RT8-May-08 19:56
Hamid_RT8-May-08 19:56 
AnswerRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Dan8-May-08 20:19
Dan8-May-08 20:19 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs2328-May-08 21:12
xqhrs2328-May-08 21:12 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Mark Salsbery9-May-08 6:51
Mark Salsbery9-May-08 6:51 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23210-May-08 16:12
xqhrs23210-May-08 16:12 
Because the button which is used to close the Diaolg is created by myself.
I donot use the ok button and cancel button which are displayed on the Dialog by default.I want to close the Dialog by just send WM_CLOSE message.AS we all know ,when we send the WM_CLOSE message, the WM_Destory and WM_QUIT message will occur following.so i think i can close the Dialog by just send WM_CLOSE.But the idea sometimes work well ,sometimes it doesnot.
I donot know what is the wrong.
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. [modified] Pin
Mark Salsbery10-May-08 17:07
Mark Salsbery10-May-08 17:07 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23213-May-08 3:28
xqhrs23213-May-08 3:28 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Mark Salsbery13-May-08 4:45
Mark Salsbery13-May-08 4:45 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23213-May-08 20:38
xqhrs23213-May-08 20:38 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Mark Salsbery14-May-08 5:53
Mark Salsbery14-May-08 5:53 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23214-May-08 17:13
xqhrs23214-May-08 17:13 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
Mark Salsbery14-May-08 18:00
Mark Salsbery14-May-08 18:00 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23215-May-08 0:16
xqhrs23215-May-08 0:16 
QuestionTaking advantage of multi-core procesors?? Pin
97C5ENVY8-May-08 11:13
97C5ENVY8-May-08 11:13 
AnswerRe: Taking advantage of multi-core procesors?? Pin
CPallini8-May-08 12:33
mveCPallini8-May-08 12:33 
AnswerRe: Taking advantage of multi-core procesors?? Pin
toxcct8-May-08 21:48
toxcct8-May-08 21:48 
AnswerRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert8-May-08 21:51
Michael Schubert8-May-08 21:51 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 6:54
Mark Salsbery9-May-08 6:54 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert9-May-08 11:02
Michael Schubert9-May-08 11:02 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 12:18
Mark Salsbery9-May-08 12:18 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert9-May-08 13:48
Michael Schubert9-May-08 13:48 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 14:40
Mark Salsbery9-May-08 14:40 

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.