Detect outlook shutdown before inspectors closes

F

Federico Delgado

Hi,

Is there anyway to detect that outlook is quitting before it starts
closing the inspectors and explorers? Seems that the quit event is
triggered after all the inspectors received the close message,

Thanks,

Federico
 
K

Ken Slovak - [MVP - Outlook]

Quit would be last, yes. Within the Outlook object model you will most
likely get the Explorer.Close() and Inspector.Close() events first, even
before an addin would get OnBeginShutdown().

About the only earlier way of telling would bypass the Outlook object model
and use a Win32 API hook to handle all messages sent to the Outlook main
window, looking for one of the shut down messages.
 

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