Video HowTo: Customize Outlook Inspector toolbars (VB.NET)
Today we are going to explore the capabilities of the ADXOlInspectorCommandBar component that you can use to add your own toolbars and modify existing ones in Outlook 2000, XP and 2003. This component as well as ADXOlExplorerCommandBar is context-sensitive.
Using the ItemTypes property you can specify Outlook item types (Appointment, Mail, Contact, Task, etc.) for which you want to render this command bar visible. You can automatically control the Visible and Enable properties of your commandbar controls by using the OlInspectorItemTypes and OlItemTypeAction properties of the ADXCommandBarControl class.
Using the AfterID, Before or BeforeID properties of each Add-in Express command bar control, you can determine the position of the given control on the toolbar. These properties are often used to position controls on native Office commandbars.
Let’s see how it actually works:
This sample video was captured in Visual Studio 2008 (VB.NET) with Add-in Express 2009 for Office and .net.
If you develop in VSTO, here is the Modifying Outlook Inspector toolbars: VSTO sample.
You may also be interested in:
Video HowTo: Customize Outlook Inspector in a VB.NET COM add-in
Video HowTo: Customize Outlook Inspector menu (VB.NET)