Zyrenthian
Programmer
I will most likely write up an app to test this but before I do, has anyone here experimented what happens when a parent window recieves a WM_CLOSE message while it has child windows open? Will the children be notified or not?
Here is why I am asking.
I have written a dll which maintains a list of thread ids or hwnd's along with messages to send to them. The dll does not care what order it calls them in or what the message is. What I want to try and avoid is a situation where I send a WM_CLOSE to a parent window and then send a message to its child.
I am using PostMessage and PostThreadMessage so I dont think it will be a BIG deal if the window or thread does not exist, I will just get a return value of false.
Thanks
Matt
Here is why I am asking.
I have written a dll which maintains a list of thread ids or hwnd's along with messages to send to them. The dll does not care what order it calls them in or what the message is. What I want to try and avoid is a situation where I send a WM_CLOSE to a parent window and then send a message to its child.
I am using PostMessage and PostThreadMessage so I dont think it will be a BIG deal if the window or thread does not exist, I will just get a return value of false.
Thanks
Matt