This document is archived and information here might be outdated. Recommended version. |
Show the browser.
[Visual Basic .NET] Public Function DoModal ( _ ByVal hWnd As Integer _ ) As Boolean
[C#] public bool DoModal ( int hWnd );
To display the dialog box, you should call the DoModal method. The method takes one parameter, a handle to the Application object of the ArcMap framework.
The DoModal method returns a Boolean�you should check the result to determine if the user intended to cancel the action (the result is False) or click OK (the result is True).