Print Page | Close Window

How to disable customization?

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=5639
Printed Date: 03 March 2025 at 5:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to disable customization?
Posted By: Tsenoh
Subject: How to disable customization?
Date Posted: 29 November 2006 at 10:13am
I want to create a RibbonBar with Quick access, and neather of them should be customizable. Not even sending the quick access bar below the ribbon. How can I do it?

Thanks!



Replies:
Posted By: Tsenoh
Date Posted: 23 January 2007 at 11:05am
I read somewhere on this forum that this functionality will be added in 10.4, but I can't seem to be able to find it. I want to disable context menu on right click, and customize button in QuickAccess bar.
 
Does someone know how to do this?
 
Thanks!


Posted By: Tsenoh
Date Posted: 13 February 2007 at 8:13am
Is this functionality going to be available any time soon? We want to put out a release next month. This customization thing is something I really have to disable before the final release. Our User is not supposed to adjust his/her GUI.


Posted By: gabrielo
Date Posted: 15 March 2007 at 12:11pm
Hi,
 
A potential new user here... we're currently considering using Xtreme Commandbars. I would also like to know if it is possible to disable customization entirely for individual toolbars, also hiding the "add or remove buttons" menu entirely.  The "EnableCustomization" member does not seem to hide the menu, only disable part of it.
 
Basically what we would like to do is have one completely customizable toolbar but keep all other toolbars, and the main menu, non-customizable. Is this possible?
 
Thanks in advance
/Gabriel


Posted By: Oleg
Date Posted: 16 March 2007 at 12:37am
Hi,
 
You can call .ShowExpandButton = False for some toolbars.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Tsenoh
Date Posted: 20 March 2007 at 4:39am
Yes, but not for QuickAccessBar. Is this functionality going to be implemented any time soon? I really need it soon. We want to bring the release version next month, and this issue is not solved. I know I could make an inherited class and overload the QuickAccessBar drawing, but it would be nice if a simple function could be used for disabling QuickAccessBar customization.
 
Thanks!


Posted By: cjsnewbie
Date Posted: 09 April 2007 at 8:00pm
I found solution.

CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)pCommandBars->Add(_T("TestRibbon"), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar));
CXTPControl* pControlQuickAccess = pRibbonBar->GetControls()->FindControl(XTP_ID_RIBBONCONTROLQUICKACCESS);
pControlQuickAccess->SetVisible(FALSE);



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