Retrieves whether or not the specified menu will display when the right mouse button is clicked over the appropriate area.
Visual Basic |
---|
Public Function MenuGetEnabled( _ ByVal Menu As enumMenu, _ ByVal Tool As enumIXTool _ ) As Boolean |
- Menu
An enumMenu value.Value Description Menu_Context Context menu activated. Menu_Toolbar Toolbar menu activated. - Tool
An enumIXTool value.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.
The enabled state of the specified menu item.
Note: The Toolbar must be activated before any context menus can be modified.