![]() |
Save state |
Post Reply ![]() |
Author | |
gmail ![]() Groupie ![]() Joined: 24 February 2008 Status: Offline Points: 45 |
![]() ![]() ![]() ![]() ![]() Posted: 31 March 2009 at 4:07pm |
How can we save state (position, docking state, visibility, etc...) of one CXTPCommandBar ? I know about SaveCommandBars which will save all CXTPCommandBar and I don't need that, I wanna do it selectively...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Sorry, there is no method for single toolbar. you only can save all of them.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
1337Pete ![]() Newbie ![]() Joined: 23 June 2010 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
When using:
GetCommandBars()->SaveBarState(_T("CommandBars")); and LoadBarState(_T("CommandBars")); or SaveCommandBars(_T("CommandBars")); LoadCommandBars(_T("CommandBars")); When the load is called it seems to be moving the toolbar above the filemenu. All I am trying to do is have a default layout for the panes and toolbars which is loaded when the user selects the default layout. The layout save and load is working correctly but I cannot get the toolbar and filemenu to return to position correctly. |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
Hi; have you ever solved this? How? I have the same behaviour with skinned app using toolkit 13.4.0 |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
Willowmaster ![]() Senior Member ![]() ![]() Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
![]() ![]() ![]() ![]() ![]() |
I had a problem when showing toolbars I created to show above the menu. If you look at the toolbar ID it has an ID below 0. If you assign it a value bigger dan 1 (which is the value for the main menu) it wil apear below the menubar.
Hope that helps.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |