![]() |
New Toolbar layout question |
Post Reply
|
| Author | |
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: New Toolbar layout questionPosted: 30 October 2006 at 1:50am |
|
Hi,
In my application I let the user save and load toolbars layout.
The user can save a layout when he wants, and load the exact layout that he saved before.
I noticed that there is a problem when the user creates a new toolbar (from the customize toolbar dialog):
For example if a layout (named "Layout1") contains 2 toolbars (TB1 and TB2) and the user creates a new toolbar ("TB3"), and trying to load "Layout1", the new toolbar will be shown (he will have 3 toolbars instead of only 2).
How can I overcome this problem ?
Yoav.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 October 2006 at 5:17am |
|
Hello, you can llop toolbars and delete all not buildin toolbars.
if (!pToolbar->IsBuiltIn()) ...
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 October 2006 at 6:54am |
|
Hi,
Is there a way to solve this problem within the layout scope ?
Because I have several layouts in my application and I want that if the user saved a layout when a "buildin" toolbar was shown, he will see this toolbar when loading this layout.
|
|
![]() |
|
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 |