Click here to Skip to main content
15,924,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to close a form? Pin
panthal24-Nov-07 20:17
panthal24-Nov-07 20:17 
AnswerRe: how to close a form? Pin
Hamid_RT24-Nov-07 23:07
Hamid_RT24-Nov-07 23:07 
GeneralRe: how to close a form? Pin
panthal24-Nov-07 23:13
panthal24-Nov-07 23:13 
GeneralRe: how to close a form? Pin
Hamid_RT25-Nov-07 2:46
Hamid_RT25-Nov-07 2:46 
AnswerRe: how to close a form? Pin
Nelek25-Nov-07 21:52
protectorNelek25-Nov-07 21:52 
QuestionRoate image using dragging [modified] Pin
followait24-Nov-07 18:58
followait24-Nov-07 18:58 
QuestionDialog death Pin
Oliver12324-Nov-07 18:58
Oliver12324-Nov-07 18:58 
AnswerRe: Dialog death Pin
Gary R. Wheeler25-Nov-07 4:15
Gary R. Wheeler25-Nov-07 4:15 
The "X" button issues a WM_SYSCOMMAND[^] notification to be sent to the window, with the wParam value set to SC_CLOSE. The default window handling closes the window.

With situation B, the window has already been destroyed by the time OnBUTTONTestButton is called, so a great deal of the normal window shutdown logic has already occurred. There's something wrong in the way you're handling the window destruction, or possibly in the CLadder destructor. Without seeing more of the CLadder code, it's difficult to say.


Software Zen: delete this;

AnswerRe: Dialog death Pin
ThatsAlok25-Nov-07 20:17
ThatsAlok25-Nov-07 20:17 
GeneralRe: Dialog death Pin
Florin Crişan25-Nov-07 21:30
Florin Crişan25-Nov-07 21:30 
Questionhow can i get OS hardware info Pin
lgbean24-Nov-07 16:39
lgbean24-Nov-07 16:39 
QuestionRe: how can i get OS hardware info Pin
David Crow24-Nov-07 17:20
David Crow24-Nov-07 17:20 
AnswerRe: how can i get OS hardware info Pin
Gary R. Wheeler25-Nov-07 4:17
Gary R. Wheeler25-Nov-07 4:17 
GeneralRe: how can i get OS hardware info Pin
Hamid_RT25-Nov-07 7:12
Hamid_RT25-Nov-07 7:12 
GeneralRe: how can i get OS hardware info Pin
David Crow25-Nov-07 9:49
David Crow25-Nov-07 9:49 
AnswerRe: how can i get OS hardware info Pin
Hamid_RT24-Nov-07 20:06
Hamid_RT24-Nov-07 20:06 
QuestionOne CFrameWnd with two CView, How to implement? [modified] Pin
followait24-Nov-07 16:27
followait24-Nov-07 16:27 
AnswerRe: One CFrameWnd with two CView, How to implement? Pin
Nelek25-Nov-07 21:47
protectorNelek25-Nov-07 21:47 
GeneralRe: One CFrameWnd with two CView, How to implement? Pin
followait25-Nov-07 22:09
followait25-Nov-07 22:09 
AnswerRe: One CFrameWnd with two CView, How to implement? Pin
JudyL_MD26-Nov-07 3:06
JudyL_MD26-Nov-07 3:06 
GeneralRe: One CFrameWnd with two CView, How to implement? Pin
followait26-Nov-07 3:34
followait26-Nov-07 3:34 
GeneralRe: One CFrameWnd with two CView, How to implement? Pin
JudyL_MD26-Nov-07 3:44
JudyL_MD26-Nov-07 3:44 
QuestionBest Way to Iterate Over a String Pin
Richard Andrew x6424-Nov-07 10:12
professionalRichard Andrew x6424-Nov-07 10:12 
AnswerRe: Best Way to Iterate Over a String Pin
David Crow24-Nov-07 17:23
David Crow24-Nov-07 17:23 
GeneralRe: Best Way to Iterate Over a String Pin
CPallini25-Nov-07 1:31
mveCPallini25-Nov-07 1:31 

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.