ContextMenu.show

Overview | Methods | This Package | All Packages

ContextMenu.show

Displays the context menu over the specified control and at the specified position.

Syntax

public void show( Control control, Point pos )

Parameters

control

A Control object that specifies the control with which this context menu is associated.

pos

A Point object that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter.

Remarks

This method does not return until the user dismisses the context menu.