Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 8:27
Anacreon5-Jan-06 8:27 
AnswerRe: CFtpConnection trouble Pin
Anacreon6-Jan-06 3:53
Anacreon6-Jan-06 3:53 
QuestionSound Capture Pin
rajeev825-Jan-06 5:57
rajeev825-Jan-06 5:57 
QuestionHelp in closing main application from child window Pin
pavanbabut5-Jan-06 5:48
pavanbabut5-Jan-06 5:48 
AnswerRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 6:27
Blake Miller5-Jan-06 6:27 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 9:43
pavanbabut5-Jan-06 9:43 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 9:54
Blake Miller5-Jan-06 9:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 10:33
pavanbabut5-Jan-06 10:33 
Sorry if I am asking to much. So what you are suggesting is, instead of calling parent->OnClose() in Childwindow's OnClose function, its better to use PostMessage function in the place of the above command in Childwindow's OnClose function. Is my interpretation right?

If so, then can you tell me how to call that function in childwindow's OnClose function? From where can i get the handle for the parent window(main application)?

I was still not able to understand how come it is closing application with out errors when i try to close without using any of the options in child window and just clicking on the close button.

thanks,
-Pavan.

-- modified at 16:45 Thursday 5th January, 2006
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 11:02
Blake Miller5-Jan-06 11:02 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:10
pavanbabut5-Jan-06 12:10 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 12:26
Blake Miller5-Jan-06 12:26 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:43
pavanbabut5-Jan-06 12:43 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:59
pavanbabut5-Jan-06 12:59 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 16:46
StarMeteor5-Jan-06 16:46 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 16:56
pavanbabut5-Jan-06 16:56 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 17:54
StarMeteor5-Jan-06 17:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 18:00
pavanbabut5-Jan-06 18:00 
GeneralRe: Help in closing main application from child window Pin
StarMeteor5-Jan-06 22:33
StarMeteor5-Jan-06 22:33 
GeneralRe: Help in closing main application from child window Pin
pavanbabut6-Jan-06 6:06
pavanbabut6-Jan-06 6:06 
GeneralRe: Help in closing main application from child window Pin
StarMeteor8-Jan-06 4:50
StarMeteor8-Jan-06 4:50 
GeneralRe: Help in closing main application from child window Pin
pavanbabut9-Jan-06 8:49
pavanbabut9-Jan-06 8:49 
GeneralRe: Help in closing main application from child window Pin
StarMeteor9-Jan-06 21:33
StarMeteor9-Jan-06 21:33 
GeneralRe: Help in closing main application from child window Pin
pavanbabut10-Jan-06 5:31
pavanbabut10-Jan-06 5:31 
QuestionHow to send data Pin
sheshidar5-Jan-06 5:18
sheshidar5-Jan-06 5:18 
AnswerRe: How to send data Pin
Prakash Nadar5-Jan-06 5:42
Prakash Nadar5-Jan-06 5:42 

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.