Raised when a menu selection is made on one of the right-click menus.
- Menu
Value Description Menu_Context Context menu activated. Menu_Toolbar Toolbar menu activated. When menu type is Toolbar, then the tool parameter is the Tool ID that the menu is associated with.
When menu type is Context, then the tool parameter has no meaning and can be any value.
- Tool
An enumIXTool value which represents the tool.Value Description TOOL_Hand Image panning tool. TOOL_Mag Magnifying window. TOOL_MouseWheelHorizScroll Mouse wheel horizontal scroll. TOOL_MouseWheelVertScroll Mouse wheel vertical scroll. TOOL_MouseWheelZoom Mouse wheel zoom. TOOL_None No tool selected. TOOL_Pan Image viewing pan tool. TOOL_Select Rubberband window selection tool. TOOL_ZoomIn Zoom in tool. TOOL_ZoomOut Zoom out tool. TOOL_ZoomRect Zoom rectangle tool. - TopMenuID
- Top-level menu ID of the selected item.
- SubMenuID
- Sub-level menu ID of the selected item. If the menu item was a top-level menu item then the SubMenuID will be 0.
- User1
- The user-supplied long values set when the menu was created.
- User2
- The user-supplied long values set when the menu was created.