list of available toolbars

  • Thread starter Thread starter Marcin Junger
  • Start date Start date
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
 
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
 
Back
Top