Print Page | Close Window

Hiding the Add or Remove Buttons Option

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=16196
Printed Date: 11 May 2024 at 6:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hiding the Add or Remove Buttons Option
Posted By: amadison
Subject: Hiding the Add or Remove Buttons Option
Date 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.



Replies:
Posted By: shipwreck
Date 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


Posted By: amadison
Date Posted: 16 February 2010 at 12:11pm
That didn't do it, but I found it. It was the ShowExpandBarAlways property.


Posted By: lfoster
Date 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


Posted By: SuperMario
Date Posted: 26 April 2010 at 4:33pm
it was there in 12 as well


Posted By: lfoster
Date 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


Posted By: lfoster
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net