General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Context menu for custom COM control inside of Resource Manager
-
wksim February 27, 2012 at 7:20 pm
Context menu for custom COM control inside of Resource Manager
February 27, 2012 at 7:20 pmParticipants 0Replies 1Last Activity 10 years, 11 months agoHello,
XMetaL: v6.0.1
We have a custom COM object that is added to the Resource manager, and are trying to add a context menu (Popup menu when the right mouse button is selected) to the custom COM object. But XMetaL takes over the event and shows its context menu for the Resource Manager (for example, Allow Docking, Hide, and Docking View). My question is how to suppress the XMetaL context menu and display the custom context menu for the custom COM control in the Resource manager.
I believe it is possible to do as the Desktop in the Resource manager displays its own context menu.
Thanks.
wksim February 27, 2012 at 7:38 pm
Reply to: Context menu for custom COM control inside of Resource Manager
February 27, 2012 at 7:38 pmI just figured it out.
I had to attach the context menu to each object that needs the menu in the custom COM object rather than just depending on the mouse clicks.
-
AuthorPosts
- You must be logged in to reply to this topic.