Executes a command from the object's context menu.
Type
Description
Long
A Long expression that determines the identifier of the command to be executed.
By default, the ExecuteContextMenu property is 0.
The ExecuteContextMenu property specifies the identifier of the command to be
executed ( id option in the ShowContextMenu property). The
ExecuteContextMenu
property has effect only during the StateChange event, when the
State parameter is ExecuteContextMenu(21). The AllowContextMenu
property specifies whether the control shows the object's context menu when the
user presses the right click over a file or folder.