Wimark.Controls Class Library  

ContextMenu.Show(Control, Point) Method

Displays the shortcut menu at the specified position.

[Visual Basic]
Overloads Public Sub Show( _
   ByVal control As Control, _
   ByVal pos As Point _
)
 
[C#]
public void Show( 
   Control control, 
   Point pos 
);
[C++]
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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

ContextMenu Class | ContextMenu Members | Wimark.Controls Namespace