![]() |
Omit "Add or Remove Buttons" from toolbar |
Post Reply
|
| Author | |
dmetzler
Newbie
Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: Omit "Add or Remove Buttons" from toolbarPosted: 16 March 2004 at 1:49pm |
|
How can I disable the ability to "Add or Remove Buttons" option from the CXTPToolBar controls? Thanks, Don Metzler
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2004 at 2:53pm |
|
Set bShowExpandButtonAlways to False. This is a member of XTP_COMMANDBARS_OPTIONS.
Edited by SuperMario |
|
![]() |
|
dmetzler
Newbie
Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2004 at 3:44pm |
|
I can get the XTP_COMMANDBARS_OPTIONS using CXTPCommandBars::GetCommandBarsOptions(). How do I set the options? Thanks, Don |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2004 at 5:26pm |
|
Try this:
CXTPCommandBars* pCommandBars = GetCommandBars(); pCommandBars->GetCommandBarsOptions()-> bShowExpandButtonAlways = False; ![]() Edited by SuperMario |
|
![]() |
|
dmetzler
Newbie
Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2004 at 5:35pm |
|
OK - great - thanks. I was looking for a Set() method of some sort. Don
|
|
![]() |
|
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 |