Can someone explain what exactly Windows does with my application when
the user shuts down Windows (or logs off)? I mean, at first it seems to
post a WM_QUERYENDSESSION message. Then, if all applications running
return True, it posts a WM_ENDSESSION message. But what other messages
are sent (WM_CLOSE, WM_QUIT...)? And are other actions performed by
Windows I should know about? And in which order do these things happen?
And to what windows are the messages posted (application, top level
windows...)? I just want to understand what's going on exactly.
Jens
--
Jens Gruschel
http://www.pegtop.net