Accusoft ImagXpress 13
MenuGetItem Method
An enumIXtool enumeration.
Top-level menu Id of the item to change.
Description
Retrieves the text string from the specified menu item.
Syntax
Visual Basic
Public Function MenuGetItem( _
   ByVal Menu As enumMenu, _
   ByVal Tool As enumIXTool, _
   ByVal TopMenuID As Long, _
   ByVal SubMenuID As Long _
) As String
Parameters
Menu
ValueDescription
Menu_ContextContext menu activated.
Menu_ToolbarToolbar menu activated.

When the menu type is Menu_Toolbar, then the Tool parameter is the Tool ID that the menu is associated with.

When 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.
TopMenuID
Top-level menu Id of the item to change.
SubMenuID
Sub-level menu ID to change, if this is to change a sub-level menu item, otherwise this parameter should be 0.
Return Type
The text of the menu item.
Remarks

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

See Also

ImagXpress Object  | ImagXpress Members  | enumIXTool Enumeration

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback