This document is archived and information here might be outdated.  Recommended version.


IActiveView.GetContextMenu Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.GetContextMenu Method
ArcGIS Developer Help

IActiveView.GetContextMenu Method

Called when a context menu should be displayed at the given xy location. Return menu that should be displayed.

[Visual Basic .NET]
Public Sub GetContextMenu ( _
    ByVal x As Double, _
    ByVal y As Double, _
    ByRef clsidMenu As UID _
)
[C#]
public void GetContextMenu (
    double x,
    double y,
    ref UID clsidMenu
);
[C++]
HRESULT GetContextMenu(
  double x,
  double y,
  IUID** clsidMenu
);
[C++]
Parameters
x [in]

x is a parameter of type double y [in]
y is a parameter of type double clsidMenu [out]
clsidMenu is a parameter of type IUID**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IActiveView Interface