Print Page | Close Window

StatusBar Status

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=2674
Printed Date: 05 October 2024 at 10:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: StatusBar Status
Posted By: ScottW
Subject: StatusBar Status
Date Posted: 02 August 2005 at 11:42am
I am using the 9.7 evaluation version and was experimenting with the CommandBar built-in statusbar. I am using a modified version of the SDI tutorial application where I added SaveStateToString and LoadStateFromString. If the user disables toolbars, their state is saved and restored automatically. However, if you hide the statusbar, it is visible when the app reloads. Should this be the case? Is there a recommended method of storing other user options along with the commandbar state, like the current theme selection, etc?



Replies:
Posted By: SuperMario
Date Posted: 02 August 2005 at 2:27pm
After you load your commandbars you could check your hide\show statusbar menu item to see if it is "checked", it if is not checked, then you hide the status bar.


Posted By: ScottW
Date Posted: 02 August 2005 at 3:05pm
I tried that, but it always appears to be unchecked right after it is loaded, even if it was checked when it was last saved. Does the SaveState string include the checked status of each button? What exactly is stored in that long string of letters? It seems to remember the position of each toolbar, but how much does it store about each individual button on the toolbars?


Posted By: Oleg
Date Posted: 03 August 2005 at 5:00am

SaveStateToString doesn't include state of StatusBar.

 

You can try SaveCommandBars/LoadCommandBars methods.



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



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