The visual parallel to the problem I am having with a child window toolbar is this: picture a guy trying to blow out a trick candle and the thing just doesn't want to go out!
My child toolwindow will close out fine if I use the "X" to close it... but when I close the parent window (which SHOULD close all children-- including this toolwindow) my application looks like it closes alright but it stays in the tasklist and is really still open.
I've tried doing a destroywindow, a postmessage %wm_syscommand,%sc_close, a sendmessage %wm_syscommand,%sc_close, and didn't let the app close until iswindow(handle) was false.
Nothing has worked.
The toolwindow closes fine using the "View" menu item in the parent window too.
Any ideas? (The code for my app is huge-- compiles to well over a megabyte without any resources-- so I couldn't possibly include it all)
My child toolwindow will close out fine if I use the "X" to close it... but when I close the parent window (which SHOULD close all children-- including this toolwindow) my application looks like it closes alright but it stays in the tasklist and is really still open.
I've tried doing a destroywindow, a postmessage %wm_syscommand,%sc_close, a sendmessage %wm_syscommand,%sc_close, and didn't let the app close until iswindow(handle) was false.
Nothing has worked.
The toolwindow closes fine using the "View" menu item in the parent window too.
Any ideas? (The code for my app is huge-- compiles to well over a megabyte without any resources-- so I couldn't possibly include it all)
Comment