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


IGPToolCommandHelper2.InvokeModal Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolCommandHelper2 Interface > IGPToolCommandHelper2.InvokeModal Method
ArcGIS Developer Help

IGPToolCommandHelper2.InvokeModal Method

Invokes the tool with a modal dialog currently associated with the command.

[Visual Basic .NET]
Public Sub InvokeModal ( _
    ByVal hWndParent As Integer, _
    ByVal Parameters As IArray, _
    ByRef pOK As Boolean, _
    ByRef ppMessages As IGPMessages _
)
[C#]
public void InvokeModal (
    int hWndParent,
    IArray Parameters,
    ref bool pOK,
    ref IGPMessages ppMessages
);
[C++]
HRESULT InvokeModal(
  OLE_HANDLE hWndParent,
  IArray* Parameters,
  Boolean* pOK,
  IGPMessages** ppMessages
);
[C++]
Parameters
hWndParent [in]

hWndParent is a parameter of type OLE_HANDLE Parameters [in]
Parameters is a parameter of type IArray* pOK [out]
pOK is a parameter of type bool* ppMessages [out]
ppMessages is a parameter of type IGPMessages**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPToolCommandHelper2 Interface