Outlook 2003 contact - standard toolbar

P

Paul Heinisch

Is there a way to add a menu item to the standard menu within an Outlook
2003? As you notice, when you open a Outlook 2003 contact, the standard menu
changes...I want to either add a button (I programming an addin) to the
standard contact toolbar or an additonal toolbar that only opens when you
select a particule contact. Also...is there a way to program the right-mouse
button within contacts to also add a button? I've looked everywhere and have
not been able to find this information out...please help. Thanks
 
K

Ken Slovak - [MVP - Outlook]

The context menus you can't get at. Even in Outlook 2007 you can only get at
the Explorer context menus.

When the Inspector opens for an item you can access its CommandBars
collection. Item.CommandBars.Item("Standard") give you a reference to the
Standard toolbar. You can get its Controls collection and use the Add method
to add a button to that toolbar. If you use the Add method of the
CommandBars collection you can add your own toolbar.

Sample code for that is available but without knowing your development
language I can't specify a specific link. You can review the information at
www.outlookcode.com for samples in various languages.
 
P

Paul Heinisch

I working with VB.net - VS 2005 Pro


Ken Slovak - said:
The context menus you can't get at. Even in Outlook 2007 you can only get at
the Explorer context menus.

When the Inspector opens for an item you can access its CommandBars
collection. Item.CommandBars.Item("Standard") give you a reference to the
Standard toolbar. You can get its Controls collection and use the Add method
to add a button to that toolbar. If you use the Add method of the
CommandBars collection you can add your own toolbar.

Sample code for that is available but without knowing your development
language I can't specify a specific link. You can review the information at
www.outlookcode.com for samples in various languages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top