How to disable other Outlook Toolbars

Add-in Express™ Support Service
That's what is more important than anything else

How to disable other Outlook Toolbars
 
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
Hi

I have a CRM system that comes with a standard Outlook Toolbar called "Pivotal" I have run the BuiltInControlsScanner.exe against it but it does not have ID's assigned to any objects. I have my own outlook add-in express that we use instead of this one. Basically when the add-in express add-in loads I want to hide the standard "Pivotal" toolbar. Is there a way of getting a handle to the standard "Pivotal" toolbar and setting its properties to hidden programmatically.

Matt
Posted 27 Apr, 2006 04:20:28 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Matt.

If controls don't have IDs, that means that the toolbar is not built-in toolbar of Outlook. It is created by an add-in.

To hide the toolbar try the following steps:
1. Add the ADXCommandBar component to the addinmodule.
2. Set the CommandBarName property to 'Pivotal'.
3. Set the Enabled property of the toolbar to False.
Posted 27 Apr, 2006 08:35:35 Top
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
Brilliant exactly what I needed and not even a line of code.

Thanks

Matt
Posted 27 Apr, 2006 09:25:14 Top