![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I am writing a plug-in for outlook using VSTO in which I want a toolbar
button to be enabled only when one or more email messages are selected, and disabled/grayed otherwise. For which I need the event as soon as a message is clicked, and as soon as a selected message is deselected. Does VSTO expose such an event. |
Ads |
#2
|
|||
|
|||
![]()
VSTO exposes no Outlook events. The Outlook object model exposes the
Explorer.SelectionChange() event that returns a 1-based Selection collection. Any items in that collection are selected. Use that on the ActiveExplorer() object. -- 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 "Saeed" wrote in message ... I am writing a plug-in for outlook using VSTO in which I want a toolbar button to be enabled only when one or more email messages are selected, and disabled/grayed otherwise. For which I need the event as soon as a message is clicked, and as soon as a selected message is deselected. Does VSTO expose such an event. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Create Message, Select To, Select Conacts- ...No Sort Opti | Hyny | Outlook - Using Contacts | 1 | July 9th 09 08:04 PM |
select e-mail account for sending message | BBran | Outlook - General Queries | 12 | August 3rd 07 04:42 PM |
Select all message body and delete | Geminist | Outlook and VBA | 3 | February 23rd 07 03:34 PM |
Cant select to address from contacts on new message | [email protected] | Outlook - Using Contacts | 2 | March 3rd 06 04:51 PM |
How to make Outlook 2003 select the oldest message in its inboxfolder? | Phillip Pi | Outlook - General Queries | 0 | January 9th 06 06:19 PM |