Managing the deleted and custom buttons |
Post Reply |
Author | |
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 03 November 2008 at 11:12am |
We created a toolbar in the resource and delete some of the button at the compiling time for different products. One of the button on the toolbar is a combobox. In the Add or Remove Buttons menu, it seems that the SaveCommandBars will not work correctly or fail because
Are these any solutions for this case? Thanks, Frank |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
After you delete button from toolbar and before you load state call
pToolBar->GetControls()->CreateOriginalControls() to save state of original controls.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
|
Thanks Oleg. Here is one more question about this issue: In the processing of customize the toolbar, we have to go two steps.
Thanks, Frank |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
CXTPControl::SetHideFlags(xtpHideCustomize);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
|
Got it. Thanks Oleg.
|
|
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 |