Click here to Skip to main content
15,791,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 10:54
Blake Miller5-Jan-06 10:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 11:33
pavanbabut5-Jan-06 11:33 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 12:02
Blake Miller5-Jan-06 12:02 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 13:10
pavanbabut5-Jan-06 13:10 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 13:26
Blake Miller5-Jan-06 13:26 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 13:43
pavanbabut5-Jan-06 13:43 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 13:59
pavanbabut5-Jan-06 13:59 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 17:46
StarMeteor5-Jan-06 17:46 
Instead of using PostMessage function, I use SendMessage with the message as "WM_SYSCOMMAND"

here is the example:
<br />
::SendMessage(pParent->m_hWnd,WM_SYSCOMMAND,SC_CLOSE,0);	<br />


I guess the assertion error may be related to your child window?
You should better have a look what you have done on Destroying child window, especially pointers stuff ..... Cry | :((

Hope this help
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 17:56
pavanbabut5-Jan-06 17:56 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 18:54
StarMeteor5-Jan-06 18:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 19:00
pavanbabut5-Jan-06 19:00 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 23:33
StarMeteor5-Jan-06 23:33 
GeneralRe: Help in closing main application from child window Pin
pavanbabut6-Jan-06 7:06
pavanbabut6-Jan-06 7:06 
GeneralRe: Help in closing main application from child window Pin
StarMeteor8-Jan-06 5:50
StarMeteor8-Jan-06 5:50 
GeneralRe: Help in closing main application from child window Pin
pavanbabut9-Jan-06 9:49
pavanbabut9-Jan-06 9:49 
GeneralRe: Help in closing main application from child window Pin
StarMeteor9-Jan-06 22:33
StarMeteor9-Jan-06 22:33 
GeneralRe: Help in closing main application from child window Pin
pavanbabut10-Jan-06 6:31
pavanbabut10-Jan-06 6:31 
QuestionHow to send data Pin
sheshidar5-Jan-06 6:18
sheshidar5-Jan-06 6:18 
AnswerRe: How to send data Pin
Prakash Nadar5-Jan-06 6:42
Prakash Nadar5-Jan-06 6:42 
AnswerRe: How to send data Pin
Cool Ju5-Jan-06 18:54
Cool Ju5-Jan-06 18:54 
AnswerRe: How to send data Pin
ThatsAlok9-Jan-06 0:16
ThatsAlok9-Jan-06 0:16 
QuestionHow to display an Excel Diagram with VC++ Pin
zhangguoliming5-Jan-06 5:00
zhangguoliming5-Jan-06 5:00 
AnswerRe: How to display an Excel Diagram with VC++ Pin
lastgen5-Jan-06 12:32
lastgen5-Jan-06 12:32 
GeneralRe: How to display an Excel Diagram with VC++ Pin
Anilkumar K V5-Jan-06 18:40
Anilkumar K V5-Jan-06 18:40 
AnswerRe: How to display an Excel Diagram with VC++ Pin
zhangguoliming8-Jan-06 22:02
zhangguoliming8-Jan-06 22:02 

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.