| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IProgressDialogFactory
Provides access to a method that creates a progress dialog.
Instead of reporting the progress of an operation in the status bar, you can display a progress dialog box instead. The progress dialog box displays an animation and a step progress bar. The IProgressDialogFactory interface is used to create and display a new progress dialog box.
The following example shows how to use progress dialog.
You would get m_app from the hook in ICommand::OnCreate().
IStepProgressor| Method Summary | |
|---|---|
|  IStepProgressor | create(ITrackCancel trackCancel,
       int hWnd)Creates a progress dialog. | 
| Method Detail | 
|---|
IStepProgressor create(ITrackCancel trackCancel,
                       int hWnd)
                       throws IOException,
                              AutomationException
The Create method creates and displays a progress dialog box. You can pass a CancelTracker object into this method to allow the user to cancel the process.
This method returns a ProgressDialog object so that you can set the properties of the dialog and the progressor.
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel  (in)hWnd - The hWnd (A  COM typedef)   (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||