Re: Detecting Windows Shutting down or User Logout



Roy Coates wrote:
hi, I've a small systray app that is causing me some grief.

Is there a way to detect that either the current user is logging out, or if

Add a message handler for WM_QUERYENDSESSION or WM_ENDSESSION.

--
jc

Remove the -not from email
.