NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IMenuCommandService.ShowContextMenu

Shows the context menu with the given command ID at the specified location.

[Visual Basic]
Sub ShowContextMenu( _
   ByVal menuID As CommandID, _
   ByVal x As Integer, _
   ByVal y As Integer _
)
[C#]
void ShowContextMenu(
   CommandID menuID,
   int x,
   int y
);
[C++]
void ShowContextMenu(
   CommandID* menuID,
   int x,
   int y
) = 0;
[JScript]
function ShowContextMenu(
   menuID : CommandID,
   x : int,
   y : int
);

Parameters

menuID
The command ID for the context menu to show.
x
The x coordinate of the menu in screen coordinates.
y
The y coordinate of the menu in screen coordinates.

See Also

IMenuCommandService Interface | IMenuCommandService Members | System.ComponentModel.Design Namespace