Accusoft NotateXpress 13
MenuSelect Event

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

When menuType is Menu_Context, then the tool parameter has no meaning and can be any value.

The top level menu ID for this selected menu item.

The user supplied long values set when the menu was created.

The user supplied long values set when the menu was created.

The layer handle of the selected element.

The sequence number of the selected element.

Description
Raised when a menu selection is made on one of the right click menus.
Syntax
Visual Basic
Public Event MenuSelect( _
   ByVal Menu As NX_MenuType, _
   ByVal Tool As NX_AnnotationTool, _
   ByVal TopMenuID As Long, _
   ByVal SubMenuID As Long, _
   ByVal User1 As Long, _
   ByVal User2 As Long, _
   ByVal layerHandle As Long, _
   ByVal sequenceNumber As Long _
)
Parameters
Menu
ValueDescription
NX_Menu_ContextThe right click menu for an element.
NX_Menu_ToolbarThe right click menu for each tool on the toolbar.
Tool
ValueDescription
NX_BlockHighlightTool(&H100C) - BlockHighlight tool.
NX_ButtonTool(&H100A) - Button tool.
NX_EllipseTool(&H1003) - Ellipse tool.
NX_FreehandTool(&H1007) - Freehand Tool.
NX_ImageTool(&H1009) - Image tool.
NX_LineTool(&H1006) - Line Tool.
NX_NoteTool(&H100D) - Note tool.
NX_NoTool(&H0000) - Disables annotation.
NX_PointerTool(&H1000) - Selection tool.
NX_PolygonTool(&H1004) - Polygon Tool.
NX_PolyLineTool(&H1005) - PolyLine Tool.
NX_ProtractorToolProtractor
NX_RectangleTool(&H1002) - Rectangle tool.
NX_RulerTool(&H100B) - Ruler tool.
NX_StampTool(&H1008) - Stamp tool.
NX_TextTool(&H1001) - Text tool.

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

When menuType is Menu_Context, then the tool parameter has no meaning and can be any value.

TopMenuID

The top level menu ID for this selected menu item.

SubMenuID

The sub level menu ID for this 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.

layerHandle

The layer handle of the selected element.

sequenceNumber

The sequence number of the selected element.

See Also

NotateXpress Object  | NotateXpress Members  | Context Menus

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback