ProjectNode.handleContextMenuItem(Int32) Method

Definition

Handles a user selecting an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.

protected:
 virtual void handleContextMenuItem(int _id);
protected virtual void handleContextMenuItem (int _id);
abstract member handleContextMenuItem : int -> unit
override this.handleContextMenuItem : int -> unit
Protected Overridable Sub handleContextMenuItem (_id As Integer)

Parameters

_id
Int32

The ID of the menu items. This is the zero-based number in the list set by the addContextMenuItems method. If accContextMenuItems returns the string "item1,item2" and the user selects the item "item2" in the shortcut menu, this method uses the value 1.

Remarks

This method is called when a user selects an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.

Applies to