ArcObjects Library Reference (3DAnalyst)  

IMessageDispatcher.Dispatch Method

Dispatchs messages associated with the window.

[Visual Basic .NET]
Public Sub Dispatch ( _
    ByVal hWnd As Integer, _
    ByVal bSingle As Boolean, _
    [ByRef pbCancelled As Object] _
)
[C#]
public void Dispatch (
    int hWnd,
    bool bSingle,
    ref object pbCancelled
);
[C#]

Optional Values

pbCancelled   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT Dispatch(
  Long hWnd,
  VARIANT_BOOL bSingle,
  VARIANT* pbCancelled
);
[C++]

Parameters

hWnd [in]   hWnd is a parameter of type Long bSingle [in]   bSingle is a parameter of type VARIANT_BOOL pbCancelled [out, optional]   pbCancelled is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

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)