Accusoft ImagXpress 13
MenuSelect Event
An enumIXTool value which represents the tool.
Top-level menu ID of the selected item.
The user-supplied long values set when the menu was created.
The user-supplied long values set when the menu was created.
Description
Raised when a menu selection is made on one of the right-click menus.
Syntax
Visual Basic
Public Event MenuSelect( _
   ByVal Menu As enumMenu, _
   ByVal Tool As enumIXTool, _
   ByVal TopMenuID As Long, _
   ByVal SubMenuID As Long, _
   ByVal User1 As Long, _
   ByVal User2 As Long _
)
Parameters
Menu
ValueDescription
Menu_ContextContext menu activated.
Menu_ToolbarToolbar 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
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 value which represents the 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.
Remarks

See Also

ImagXpress Object  | ImagXpress Members  | Context Menu  | Toolbar

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback