Re: Detecting Windows Shutting down or User Logout
- From: "Roy Coates" <r.coates@xxxxxxxxx>
- Date: Thu, 21 Apr 2005 12:08:10 +0100
Thanks Jeremy - that seems to do the job.
Roy.
"Jeremy Collins" <jd.collins@xxxxxxxxxxxxxxxx> wrote in message
news:hLK9e.41042$pA6.251@xxxxxxxxxxxxxxxxxxxxxxx
> 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
.
- References:
- Detecting Windows Shutting down or User Logout
- From: Roy Coates
- Re: Detecting Windows Shutting down or User Logout
- From: Jeremy Collins
- Detecting Windows Shutting down or User Logout
- Prev by Date: Re: Detecting Windows Shutting down or User Logout
- Next by Date: Detecting shift/alt keys
- Previous by thread: Re: Detecting Windows Shutting down or User Logout
- Next by thread: Detecting shift/alt keys
- Index(es):