User wants to hide the toolbar

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

User wants to hide the toolbar
 
Mike VE




Posts: 168
Joined: 2007-09-09
Hi

I have written an Outlook add-in called Academic Calendar using ADX with a sigle toolbar. One of my customers wants to hide this toolbar. He clicks the View menu, then Toolbars and unticks Academic Calendar toolbar. As expected the toolbar disappears. However the next time he starts Outlook it is there again.

How can I make ut respond as expected to the View>Toolbars menu?
Posted 13 Sep, 2007 17:43:23 Top
Sergey Grischenko


Add-in Express team


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

You need to set the Temporary property of your command bar to true.
It will solve the issue but the command bar will remain in Outlook after the add-in is uninstalled. Another solution is to disable the add-in at all using the COM Add-ins dialog. Also you can develop some code that will check the state of the command bar before the add-in is unloaded and save the state to the system registry. When Outlook starts next time, you can check the system registry to synchronize the state of the command bar.
Posted 14 Sep, 2007 10:26:46 Top