![]() |
Event for email message select
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. |
Event for email message select
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. |
All times are GMT +1. The time now is 12:28 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