Outlook does not handle WM_QUERYENDSESSION or WM_ENDSESSION properly

W

Will Pittenger

It seems to be ignoring WM_QUERYENDSESSION (sent so a program can tell
Windows that a shutdown is not possible -- perhaps the user wants to
continue working) and outright refusing to shutdown when a WM_ENDSESSION is
sent. Outlook displays a dialog requesting that the user manually close
Outlook before shutdown. Windows then displays a dialog saying that Outlook
is not responding and offering to just kill it. Well if you let Windows
kill Outlook, when Outlook restarts (in that next Windows session), it
complains that one or more PST files was not closed properly last time.

I do not care what the circumstances. Microsoft's own SDK states that when
a WM_QUERYENDSESSION is sent, all programs that need to get permission to
close (and save files) should do so then. When WM_ENDSESSION arrives, all
files should be saved and all programs ready to exit. There are supposed to
be NO exceptions.

As is, when Outlook displays its dialog, most of the programs that I have
running are already closed. Outlook usually works out to be the last
program open (or close to it). When it refuses to close, IntelliPoint is
already gone. Unfortunately, that program reverses my mouse buttons. So
once it exits, I have no way to make a second attempt.

I have Outlook 2002 SP2 and XP Pro SP1.
 
K

Ken Slovak - [MVP - Outlook]

Outlook has always behaved that way. It's not the correct way but that's the
way it is. You can write to (e-mail address removed) with Outlook in the subject
to file a complaint or bug for this but don't expect it to change before
Outlook 12 if then.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top