Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: list of available toolbars

Geek News

list of available toolbars
Marcin Junger <marcin.junger[ at ]sage.com> 9/19/2006 1:49:56 PM
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
Re: list of available toolbars
"Andrei Smolin" <Andrei.Smolin[ at ]add-in-express.com> 9/28/2006 11:53:07 AM
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


[Quoted Text]
> 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

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