ArcObjects Library Reference (TrackingAnalyst)  

ITxDocumentEvents.OnContextMenu Event

Indicates if a context menu should be displayed at the given xy location. Return true if handled.

[Visual Basic 6.0]
Event OnContextMenu(
    ByVal x As Long, _
    ByVal y As Long, _
    handled As Boolean _
)
[Visual Basic .NET]
Public Event OnContextMenu As OnContextMenuEventHandler
[C#]
public event OnContextMenuEventHandler OnContextMenu
[C++]
HRESULT OnContextMenu(
  long x,
  long y,
  VARIANT_BOOL* handled
);
[C++]

Parameters

x [in]   x is a parameter of type long y [in]   y is a parameter of type long handled [out]   handled is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ITxDocumentEvents Interface