Print Page | Close Window

Is Tabbed Toolbar in LoadCommandBar?

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=14949
Printed Date: 27 February 2025 at 3:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is Tabbed Toolbar in LoadCommandBar?
Posted By: tralfaz
Subject: Is Tabbed Toolbar in LoadCommandBar?
Date Posted: 11 August 2009 at 1:17pm
Can the Tabbed Toolbar restore to the state it was when the app exited?

I'm calling SaveCommandBars/LoadCommandBars but the Tabbed Toolbar always resets to it's original state.

All I'm doing is this.
1. Remove a button (Alt+Drag) from one of the tabbed toolbars
2. Exit the program (SaveCommandBars is called)
3. Relaunch (LoadCommandBars is called)

The tabbed toolbar comes up with the removed button intact. How can I get it to remember it's previous state?




-------------

XP Pro SP3 / VS2008 C++ / Xtreme CommandBars v13.1.0



Replies:
Posted By: Oleg
Date Posted: 12 August 2009 at 3:05am
Hi,
 
Do you create it same way as our sample ?
 
if you manually add each button, try call
 
pToolBar->GetControls()->CreateOriginalControls() after layout done.


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


Posted By: tralfaz
Date Posted: 12 August 2009 at 9:51am
I don't think I did. I didn't think I had to dissect the tabbed toolbar to that level.

You don't have to do that for regular toolbars, why for a Tabbed Toolbar?




-------------

XP Pro SP3 / VS2008 C++ / Xtreme CommandBars v13.1.0



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