Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Hiding the Add or Remove Buttons Option
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hiding the Add or Remove Buttons Option

 Post Reply Post Reply
Author
Message
amadison View Drop Down
Newbie
Newbie


Joined: 15 February 2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote amadison Quote  Post ReplyReply Direct Link To This Post Topic: Hiding the Add or Remove Buttons Option
    Posted: 15 February 2010 at 12:20pm
I have a toolbar that could be longer than the available screen therefore I need to show the expand button. However, when I have this property set to true, it also shows the drop down that contains "Add or Remove Buttons" and I don't want this option to show. How can I hide it?
 
Thanks.
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2010 at 3:04am
Try disabling customization for that toolbar.
Let me know if this works for you. :]
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6
Back to Top
amadison View Drop Down
Newbie
Newbie


Joined: 15 February 2010
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote amadison Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2010 at 12:11pm
That didn't do it, but I found it. It was the ShowExpandBarAlways property.
Back to Top
lfoster View Drop Down
Groupie
Groupie


Joined: 26 April 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote lfoster Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2010 at 12:08pm
amadison, or anyone else that might have an idea on this. Do you know if the ShowExpandBarAlways is only in the latest version of the XtremeToolKit? I have version 12.1.1 and can't find any mention of the ShowExpandbarAlways property.

Any help would be greatly appreciated.

Lewis
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2010 at 4:33pm
it was there in 12 as well
Back to Top
lfoster View Drop Down
Groupie
Groupie


Joined: 26 April 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote lfoster Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2010 at 5:08am
Ok, I found the option we are talking about. It is the GetCommandBars()->GetCommandBarOptions->bShowExpandButtonAlways option I presume.

Anyway, I tried setting this option to TRUE and I get the standard drop down at the end of the toolbar with the extra buttons that couldn't fit onto the toolbar...but unfortunately I still get the "Add or Remove Buttons" button. Any other ideas anyone on how I can have this dropdown without the "Add or Remove buttons" button.

Thanks for the help,

Lewis
Back to Top
lfoster View Drop Down
Groupie
Groupie


Joined: 26 April 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote lfoster Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2010 at 9:44am
I just realised that this forum isn't related to C++ / MFC. I should make a new posting in the other forum.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.