![]() |
Controling Right Click Context Menus |
Post Reply ![]() |
Author | |
John31 ![]() Groupie ![]() ![]() Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
John31 ![]() Groupie ![]() ![]() Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() |
Never Mind. I found it. You handle it in the ToolbarContextMenu event.
|
|
Regards
John Layton |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |