View Single Post
  #2  
Old January 7th 08, 02:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Preview Pane and Inspector Events

The item.Read event will fire when an item is displayed in the preview pane.
In addition, in Outlook 2007 you can use the Application.ItemLoad event to
know when an item is loaded by Outlook into its memory cache. That even can
fire when an item is previewed and also when an item is opened in an
Inspector.

You can also use the ActiveExplorer.SelectionChange event. When that event
fires the item or items that are selected have changed. If more than one
item was selected that won't necessarily tell you which is now displayed in
the preview pane though without also using ItemLoad.

Since ItemLoad is Outlook 2007 only, if you are using an earlier version of
Outlook you only have SelectionChange to work with.

--
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


"Windoze" wrote in message
...
Hi

Are there any inspector events for the preview pane? If there aren't, are
there any other events which could be used to a message being opened in a
preview pane?

Cheers
Win


Ads