The problem with the get* events for Inspector or Explorer are they open a
window of that type if one isn't already opened. If one is opened they use
that. So if something is being read in the preview pane and isn't open,
using get_Inspector() will open the item.
Better to handle NewInspector(), that way you get the handle when the item
is being opened.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"John Erickson" wrote in message
...
Sorry I meant get_Inspector not get_Explorer.
"John Erickson" wrote:
Thanks for the quick reply Ken. From Outlook::_FormRegion I see a
get_Explorer method. Can I use that method in both scenerios to hook the
close event?