RE: Windows XP wont STOP processing ! ! !
- Posted by Bernie Ryan <xotron at localnet.com> Dec 15, 2001
- 471 views
Euman wrote: > Hello all, > > I have a pretty technical question to ask about Windows programming! > > In the (below) traced, I issue this command junk = > c_func(DestroyWindow, {hwnd}) > which resides in WM_NOTIFY (Line#801) as you can see from the trace > WM_DESTROY is > immediatley called (Line# 933) after I issure a DestroyWindow Euman: I suspect that your problem maybe in your logic structure. I don't know what happens between line 933 to 939 because it's not displayed here. When you post a quit message you are telling the OS to send a message to all the open application windows to see if it's ok to destroy each window. Then each window will execute the code in the destroy message and return zero if it is successful. So be sure that your code is not in a logical loop. Each window has to tell windows Bernie