Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Getting the message details

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Getting the message details
"john" <asafam1[ at ]yahoo.com> 07.09.2006 14:36:21
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

Re: Getting the message details
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 07.09.2006 15:00:52
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" <asafam1[ at ]yahoo.com> wrote in message
news:1157639781.662182.132430[ at ]h48g2000cwc.googlegroups.com...
[Quoted Text]
> 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
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net