This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IP > IProgressDialog2 Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that work with a progress dialog.
The IProgressDialog2 interface has methods for hiding and showing the progress dialog box.
Use the IProgressDialogFactory.Create method to create the progress dialog box.
Description | ||
---|---|---|
Animation | The animation type displayed in the dialog. | |
CancelEnabled | Indicates if the Cancel button is enabled. | |
Description | The description displayed in the dialog. | |
HideDialog | Hides the progress dialog. | |
ShowDialog | Shows the progress dialog. | |
Title | The caption displayed in the dialog. |
CoClasses and Classes | Description |
---|---|
ProgressDialog (esriArcMapUI) | Progress dialog object. |
The example code below shows how to use progress dialog. You would get m_app from the hook in ICommand::OnCreate().