Print Page | Close Window

Reset CommandBars to default

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2529
Printed Date: 19 November 2024 at 2:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Reset CommandBars to default
Posted By: jamesblast
Subject: Reset CommandBars to default
Date Posted: 06 July 2005 at 5:47am

hello,

I add all my commandbars in code. then i check the program-version. so some commandcontrols get hidden.

If I reset the Bars to Default (Customize) the hidden controls get displayed again.

so, my question is, what does the commandbar read as the *default*? All added controls? All Controls visible at a special point of time?

i hope you can help me with this.

thank you




Replies:
Posted By: Oleg
Date Posted: 06 July 2005 at 11:55pm

Hello,

Call EnableCustomization method after you create all ToolBars and apply states. It will store currrent state of Toolbars and will use it as default.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jamesblast
Date Posted: 07 July 2005 at 1:52am

thank you.

this seems to work!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net