Accusoft ImagXpress 12
MenuSetEnabled Method
See Also  Send comments on this topic.
Tool
An enumIXtool enumeration.
bEnabled
Enables or disables display of menu.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : MenuSetEnabled Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.