Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Quick Access Customization
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Quick Access Customization

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

Joined: 07 January 2009
Location: United Kingdom
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesP Quote  Post ReplyReply Direct Link To This Post Topic: Quick Access Customization
    Posted: 08 January 2009 at 9:09am
Is it possible to disable or remove customization (the down arrow on the right) of the Quick Access Toolbar. We want to remove the option to place the Toolbar below the ribbon.
 
Also, is it possible to diasble the abilty to add and remove buttons to and from the Quick Access Toolbar.
Back to Top
JamesP View Drop Down
Groupie
Groupie
Avatar

Joined: 07 January 2009
Location: United Kingdom
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesP Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2009 at 10:34am
I found you can remove the ability to Add and Remove buttons with the call:
 
AllowQuickAccessCustomization(FALSE).
 
I haven't found a way of removing the abilty to place the Quick Access Toolbar below the Ribbon.
 
There is a function OnSetPopup(FALSE) that looks like it would remove the Context Menu but I don't know how to call it.
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: 09 January 2009 at 1:59am
Also can call ShowQuickAccess(FALSE);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JamesP View Drop Down
Groupie
Groupie
Avatar

Joined: 07 January 2009
Location: United Kingdom
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesP Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2009 at 4:53am
ShowQuickAccess(FALSE); removes the Toolbar altogether.
 
I wondered whether there was a way of disabling the ability to place it below the Ribbon, possibly by removing the customization popup altogether.
Back to Top
Squale View Drop Down
Groupie
Groupie


Joined: 29 April 2009
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Squale Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2009 at 5:59am
up... cannot find a way to hide popup menu on QuickAccess.

 
Back to Top
ls9090 View Drop Down
Newbie
Newbie
Avatar

Joined: 13 December 2008
Location: Switzerland
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote ls9090 Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2009 at 5:42pm
I also need that functionality... Please implement that, codejock developers!
Thanks for any help!
Back to Top
Squale View Drop Down
Groupie
Groupie


Joined: 29 April 2009
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Squale Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2009 at 11:52am
up
Back to Top
gvidali View Drop Down
Newbie
Newbie
Avatar

Joined: 03 April 2009
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote gvidali Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2009 at 1:11pm
I agree: we definitely need a property that would allow us to prevent placing the Quick Access Toolbar below the ribbon.

Thanks.

Giorgio

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: 24 July 2009 at 4:07am
If you need only remove such option from customize popup add
 
   CommandBars.Actions.Add 9608, "", "", "", "" ' XTP_ID_RIBBONCUSTOMIZE_QUICKACCESSBELOW   9608
    CommandBars.Actions(9608).Visible = False
   
   
    CommandBars.Actions.Add 9617, "", "", "", "" ' XTP_ID_RIBBONCUSTOMIZE_QUICKACCESSBELOW_MORE 9617
    CommandBars.Actions(9617).Visible = False
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gvidali View Drop Down
Newbie
Newbie
Avatar

Joined: 03 April 2009
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote gvidali Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2009 at 9:09am
Oleg,

The code you provided indeeds hides the "Show Quick Access Toolbar Below the Ribbon" menu entry. Thank you.

On the other hands, this begs few questions... all specifically related to the documentation of the product.... Given the current state of help file, samples, and "tutorials"... how would a developer even come to this solution?

Thanks again.




Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2009 at 5:13pm

Sometimes one has to find out about this stuff the same way one finds out about MFC - looking at the code or step, step ...

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.141 seconds.