ArcObjects Library Reference (ArcGlobe)  

IGMxDocumentEventsDisp.OnContextMenu Event

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

[Visual Basic 6.0]
Function OnContextMenu(
    ByVal x As Long, _
    ByVal y As Long _
) As Boolean
[Visual Basic .NET]
Public Event OnContextMenu As OnContextMenuEventHandler
[C#]
public event OnContextMenuEventHandler OnContextMenu

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

See Also

IGMxDocumentEventsDisp Interface