Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon Bar QuickAccessPage
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon Bar QuickAccessPage

 Post Reply Post Reply
Author
Message
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon Bar QuickAccessPage
    Posted: 16 May 2007 at 4:29pm
Hi, we are trying to disable some of or all of the menu options in the Quick Access control. we found that even though the tool bar is disabled... the right click will still fire the Quick Access Control. We want to not allow the user to right click and be able to click on the items in the quick access page.

Thanks 
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1357
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2007 at 7:00pm
You will have to subclass the CommandBar control to intercept the right mouse clicks. I have written some proof-of-concept code that you can download from here:

http://www.collidingscopes.com/cmdbarbehave.zip

(Note: the code also shows you how to prevent double-clicking the system button from closing the application)
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2007 at 9:32am
Thanks for the project code... it's definitely does what we are looking for. 
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2007 at 11:15am
The only other thing is how do you take out certain menu options in the access page. Like Below RibbonBar?        
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.031 seconds.