Print Page | Close Window

Controling Right Click Context Menus

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=6865
Printed Date: 19 June 2025 at 5:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Controling Right Click Context Menus
Posted By: John31
Subject: Controling Right Click Context Menus
Date Posted: 13 April 2007 at 4:20pm

Is this possible and if so can you provide a brief sample of how to do it?

When a user right clicks on a Toolbar (Not Menu) Control I need to present a custom context menu and I have been unable to figure out how to do it. 
 
If you look at the attached screen shot you will see the default context menu from a right click on the print button.  I want to replace this context menu with all new items depending on the control that is right clicked by the user.
 
 
Also, I see there is a new event in the 10.4.2 version called "ControlNotify".  Is there a sample app where this is used? 
 
I have need to track when a mouse passes over a toolbar EVEN IF the window does not have focus.  Does this ControlNotify allow for some sort of subclassing messages to be raised?
 
Thanks
 


-------------
Regards

John Layton



Replies:
Posted By: John31
Date Posted: 13 April 2007 at 4:52pm
Never Mind.  I found it.  You handle it in the ToolbarContextMenu event.

-------------
Regards

John Layton



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