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


IMessageDispatcher.CancelOnEscPress Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IMessageDispatcher.CancelOnEscPress Property

Indicates if pressing the escape key is seen as a cancel action.

[Visual Basic .NET]
Public Property CancelOnEscPress As Boolean
[C#]
public bool CancelOnEscPress {get; set;}
[C++]
HRESULT get_CancelOnEscPress(
  VARIANT_BOOL* pbCancelOnEscPress
);
[C++]
HRESULT put_CancelOnEscPress(
  VARIANT_BOOL pbCancelOnEscPress
);
[C++]

Parameters pbCancelOnEscPress [out, retval] pbCancelOnEscPress is a parameter of type VARIANT_BOOL pbCancelOnEscPress [in] pbCancelOnEscPress is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IMessageDispatcher Interface

.NET Samples

Custom scene navigation commands (Code Files: Fly Navigate)