Accusoft ImagXpress 13
MenuSetEnabled Method
An enumIXtool enumeration.
Enables or disables display of menu.
Description
Sets whether or not the specified menu will display when the right mouse button is clicked over the appropriate area.
Syntax
Visual Basic
Public Sub MenuSetEnabled( _
   ByVal Menu As enumMenu, _
   ByVal Tool As enumIXTool, _
   ByVal bEnabled As Boolean _
) 
Parameters
Menu
ValueDescription
Menu_ContextContext menu activated.
Menu_ToolbarToolbar menu activated.

If the menu type is Menu_Toolbar, then the Tool parameter is the Tool Id associated with the menu.

If the menu type is Menu_Context, the Tool parameter has no meaning and can be any value.

Tool
ValueDescription
TOOL_HandImage panning tool.
TOOL_MagMagnifying window.
TOOL_MouseWheelHorizScrollMouse wheel horizontal scroll.
TOOL_MouseWheelVertScrollMouse wheel vertical scroll.
TOOL_MouseWheelZoomMouse wheel zoom.
TOOL_NoneNo tool selected.
TOOL_PanImage viewing pan tool.
TOOL_SelectRubberband window selection tool.
TOOL_ZoomInZoom in tool.
TOOL_ZoomOutZoom out tool.
TOOL_ZoomRectZoom rectangle tool.
An enumIXtool enumeration.
bEnabled
Enables or disables display of menu.
Remarks

Note: The Toolbar must be activated before any context menus can be modified.

See Also

ImagXpress Object  | ImagXpress Members  | enumIXTool Enumeration  | enumMenu Enumeration

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback