Shows the specified shortcut menu at the specified location.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub ShowContextMenu( _
ByVal As CommandID, _
ByVal x As Integer, _
ByVal y As Integer _
)
|
Parameters
- menuID
- The System.ComponentModel.Design.CommandID for the shortcut menu to show.
- x
- The x-coordinate at which to display the menu, in screen coordinates.
- y
- The y-coordinate at which to display the menu, in screen coordinates.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also