Trapping the closing of an Outlook Sub-Pane

Add-in Express™ Support Service
That's what is more important than anything else

Trapping the closing of an Outlook Sub-Pane
 
Sharad Patel




Posts: 30
Joined: 2008-04-17
I read in an earlier post that I could use the AddinBeginShutdown event to run my own code - but in this event my ADXOlFormsManager instance collection is reported as being 0 - I assume that by this point the sub-pane has already been unloaded - what event can I use for this - I have tried the FormClosing but nothing happens.
Posted 20 May, 2008 10:12:44 Top
Fedor Shihantsov


Guest


You can use the ADXOlForm.Dispose method.
Will that do?
Posted 20 May, 2008 12:33:43 Top
Sharad Patel




Posts: 30
Joined: 2008-04-17
Fedor,

Thankyou - that did the job.
Posted 20 May, 2008 13:23:34 Top