Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Controling Right Click Context Menus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Controling Right Click Context Menus

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

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Topic: Controling Right Click Context Menus
    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
Back to Top
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2007 at 4:52pm
Never Mind.  I found it.  You handle it in the ToolbarContextMenu event.
Regards

John Layton
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.047 seconds.