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


IProgressDialog2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Framework)  

IProgressDialog2 Interface

Provides access to members that work with a progress dialog.

Product Availability

Available with ArcGIS Desktop.

Description

The IProgressDialog2 interface has methods for hiding and showing the progress dialog box.

Use the IProgressDialogFactory.Create method to create the progress dialog box.

Members

Description
Read/write property Animation The animation type displayed in the dialog.
Read/write property CancelEnabled Indicates if the Cancel button is enabled.
Read/write property Description The description displayed in the dialog.
Method HideDialog Hides the progress dialog.
Method ShowDialog Shows the progress dialog.
Read/write property Title The caption displayed in the dialog.

CoClasses that implement IProgressDialog2

CoClasses and Classes Description
ProgressDialog (esriArcMapUI) Progress dialog object.

Remarks

The example code below shows how to use progress dialog. You would get m_app from the hook in ICommand::OnCreate().

.NET Snippets

Show Progress Dialog