Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Outlook 2003 contact - standard toolbar

Geek News

Outlook 2003 contact - standard toolbar
Paul Heinisch 8/28/2006 12:29:01 AM
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
Re: Outlook 2003 contact - standard toolbar
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 8/28/2006 1:42:09 PM
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.

--
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


"Paul Heinisch" <Paul Heinisch[ at ]discussions.microsoft.com> wrote in message
news:7C10B864-0231-460E-908F-12139192F4B6[ at ]microsoft.com...
[Quoted Text]
> 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

Re: Outlook 2003 contact - standard toolbar
Paul Heinisch 8/28/2006 6:00:01 PM
I working with VB.net - VS 2005 Pro


"Ken Slovak - [MVP - Outlook]" wrote:

[Quoted Text]
> 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.
>
> --
> 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
>
>
> "Paul Heinisch" <Paul Heinisch[ at ]discussions.microsoft.com> wrote in message
> news:7C10B864-0231-460E-908F-12139192F4B6[ at ]microsoft.com...
> > 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
>
>

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