Creating shortcuts and modifying toolbars programmatically

J

Jim

From: Tom Rizzo [MSFT] ([email protected])
Subject: Re: Creating shortcuts and modifying toolbars programmatically
Newsgroups: microsoft.public.outlook.program_addins
Date: 2003-11-17 19:32:19 PST

Sure. The Outlook bar has an object model which is part of the Outlook
object model. In Outlook 2003, the bar is not completely programmable
through the object model. But in 2003, there is an XML file for the
Outlook bar that you can modify to make changes.

How is this done under Outlook 2003? Sample code?

Thanks.

Jim
 
S

Sue Mosher [MVP-Outlook]

The "Outlook Bar" has been fully programmable since Outlook 2000, but has
morphed in Outlook 2003 into the Shortcuts pane, which is only a small part
of the navigation pane. If you look up Help for OutlookBarShortcut, you
should find plenty of sample code.

The XML file that Tom refers to is saved for each Outlook profile for each
user. It's not documented, but you can read it for yourself and get an idea
of what it does. The catch is that you can't change it while Outlook is
running, because Outlook caches navigation pane changes from the current
session in memory and then writes them out to the XML file when Outlook
closes.

Toolbars and menus have been customizable since Outlook 2000 through the
Inspector.CommandBars and Explorer.CommandBars objects.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers




Jim said:
From: Tom Rizzo [MSFT] ([email protected])
Subject: Re: Creating shortcuts and modifying toolbars programmatically
Newsgroups: microsoft.public.outlook.program_addins
Date: 2003-11-17 19:32:19 PST

Sure. The Outlook bar has an object model which is part of the Outlook
object model. In Outlook 2003, the bar is not completely programmable
through the object model. But in 2003, there is an XML file for the
Outlook bar that you can modify to make changes.

How is this done under Outlook 2003? Sample code?

Thanks.

Jim
 

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