Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : End session

www.cryer.info
Managed Newsgroup Archive

End session

Subject:End session
Posted by:"Jens Gruschel" (nospam@thisurldoesnotexist.com)
Date:Thu, 13 Oct 2005 20:30:37 +0200

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

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive