It's up to you to include code in your add-in to "remember" the state of the toolbar so that you can recreate it in the same state the next time Outlook starts. State includes not just hidden/visible but position information. (Users complain frequently about add-in toolbars that don't come back to the same positions every time.) You can use the registry, an XML file, or any other means at your disposal to store and retrieve this information. But you have to provide the code. Outlook can't remember the state of a temporary toolbar.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx
"Vinayakc" <vinayakchitre[ at ]gmail.com> wrote in message news:1141396951.688410.293980[ at ]e56g2000cwe.googlegroups.com...
[Quoted Text] > Hi all, > > If any user hides add-in by right clicking on toolbar and uncheck > add-in name, > Next time when outlook starts it does not remember the add-in hidden > status and it just shows add-in in to outlook toolbar. > I have created add-in command bar as temporary. > I checked this with Outlook spy. It just working fine in this scenario. > > Can anyone help me on this? > > Regards, > Vinayakc >
|