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


IMessageDispatcher.Dispatch Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IM > IMessageDispatcher Interface > IMessageDispatcher.Dispatch Method
ArcGIS Developer Help

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++]
HRESULT Dispatch(
  OLE_HANDLE hWnd,
  VARIANT_BOOL bSingle,
  Variant* pbCancelled
);
[C++]
Parameters
hWnd [in]

hWnd is a parameter of type OLE_HANDLE bSingle [in]
bSingle is a parameter of type bool pbCancelled [out, optional]
pbCancelled is a parameter of type VARIANT*

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 Custom scene navigation commands