Click to See Complete Forum and Search --> : WM_QueryEndSession


breitth1
March 11th, 2002, 11:19 AM
Hello,

my application just runs in the background, usualy without user interaction. It's accessible via a small icon in the notification area.
Now i have the problem, that the application sometimes doesn't receive the WM_QueryEndSession message, when the user has selected to shutdown to PC. This ends, that there is no answer to the message and Windows will not shutdown. So far as i can see, this is only related to Windows 2000.
When the user has activated my application somehow (just one single click), then the application will always get the Windows message.

Has anyone detected the same problem and can help me?

Thanks in advance.