Click here to Skip to main content
15,797,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFtpConnection trouble Pin
Office Lineman5-Jan-06 9:14
Office Lineman5-Jan-06 9:14 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 9:27
Anacreon5-Jan-06 9:27 
AnswerRe: CFtpConnection trouble Pin
Anacreon6-Jan-06 4:53
Anacreon6-Jan-06 4:53 
QuestionSound Capture Pin
rajeev825-Jan-06 6:57
rajeev825-Jan-06 6:57 
QuestionHelp in closing main application from child window Pin
pavanbabut5-Jan-06 6:48
pavanbabut5-Jan-06 6:48 
AnswerRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 7:27
Blake Miller5-Jan-06 7:27 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 10:43
pavanbabut5-Jan-06 10:43 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 10:54
Blake Miller5-Jan-06 10:54 
In your child window OnClose, you might be setting up a circular dependency.
It calls parent close, which calls child destroy, which results in child close, etc.
I would mereely POST a message to parent to close - call
PostMessage(hParentWindow, WM_CLOSE, 0, 0);
instead of directly calling the parent->OnClose();
This would give your child window OnClose a chance to return from its processing first.


Marriage slows down your coding, a baby slows it down even more!
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 
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 

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.