Print Page | Close Window

Ribbon Bar QuickAccessPage

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=7159
Printed Date: 06 November 2025 at 9:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Bar QuickAccessPage
Posted By: LittleJK
Subject: Ribbon Bar QuickAccessPage
Date 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 



Replies:
Posted By: jpbro
Date 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 - http://www.collidingscopes.com/cmdbarbehave.zip

(Note: the code also shows you how to prevent double-clicking the system button from closing the application)


Posted By: LittleJK
Date Posted: 17 May 2007 at 9:32am
Thanks for the project code... it's definitely does what we are looking for. 


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



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