View Single Post
  #1  
Old September 8th 06, 07:48 PM posted to microsoft.public.outlook.program_addins
Nathan
external usenet poster
 
Posts: 30
Default Cancelling Outlook.Application.ActiveExplorer.Close event?

Hello,

I have written an Outlook Add-in in C# for Outlook 2003.
I have added a delegate/event handler for the
Outlook.Application.ActiveExplorer.Close event.
With in the event procedure, I am doing a check for a flag, if the flag is
set to true, I want to cancel the closing event and popup a message box to
the user and leave the outlook window active.

How do I do this?

Thanks in advance for any suggestions.

Ads