Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Preview Pane and Inspector Events (http://www.outlookbanter.com/add-ins-outlook/64551-preview-pane-inspector-events.html)

Windoze January 7th 08 09:31 AM

Preview Pane and Inspector Events
 
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



Ken Slovak - [MVP - Outlook] January 7th 08 02:16 PM

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




All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com