Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - StatusBar Status
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

StatusBar Status

 Post Reply Post Reply
Author
Message
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Topic: StatusBar Status
    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?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.