Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Getting the message details (http://www.outlookbanter.com/add-ins-outlook/26369-getting-message-details.html)

john September 7th 06 04:36 PM

Getting the message details
 
Hi all,
I'm using vs 2005 outlook add-in, C# and outlook 2003.

My Goal is to rais an event whenever the selected message is changed.
I've tried to use the Microsoft.office.interop.outlook.explorer in
order to do so but I't wasn't a seccessful attemp.

John


Ken Slovak - [MVP - Outlook] September 7th 06 05:00 PM

Getting the message details
 
That doesn't really provide us with very much information. A brief code
sample would be helpful.

ActiveExplorer().Selection is the collection of selected items in the
current Explorer. You would need to instantiate an item for each selected
item (whatever type that item was) and update your items every time the
selection changed.

For each item that is selected you would need to handle the PropertyChange
and CustomPropertyChange events.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"john" wrote in message
oups.com...
Hi all,
I'm using vs 2005 outlook add-in, C# and outlook 2003.

My Goal is to rais an event whenever the selected message is changed.
I've tried to use the Microsoft.office.interop.outlook.explorer in
order to do so but I't wasn't a seccessful attemp.

John




All times are GMT +1. The time now is 11:29 AM.

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