list of available toolbars

M

Marcin Junger

Hi,
I'm writing an Outlook addin that creates two buttons in new mail
inspector. I put those buttons on the Standard command bar, but i would
like to give an option to decide on which toolbar the buttons should be
created. I have created my own "options" window that is available from
Outlook Tools menu. I would like to display there a nice combo box with
available toolbars... is there a way to get a list of available toolbars
in New Mail Inspector when no such inspector is created? This list
should be aware that user is using word as editor or not... maybe I
should create new inspector without displaying it? Is there a way to do
that ?
Thanks
Marcin
 
A

Andrei Smolin

Marcin,

Use Inspector.CommandBars in the Inspectors.NewInspector or
Inspector.Activate events. You can also look at Add-in Express web-site
(http://www.add-in-express.com) where custom and built-in command bars
as well as custom and built-n command bar controls, keyboard shortcuts
and Outlook Bar shortcuts, and Outlook option pages are turned into
handy components.

Andrei Smolin
Add-in Express Team Leader
 

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