Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to disable customization?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to disable customization?

 Post Reply Post Reply
Author
Message
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Topic: How to disable customization?
    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!
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
gabrielo View Drop Down
Newbie
Newbie


Joined: 15 March 2007
Location: Sweden
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote gabrielo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2007 at 12:37am
Hi,
 
You can call .ShowExpandButton = False for some toolbars.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
cjsnewbie View Drop Down
Groupie
Groupie


Joined: 24 October 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote cjsnewbie Quote  Post ReplyReply Direct Link To This Post 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);
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.047 seconds.