![]() | InDesign SDK 20.5 |
#include <ProgressBar.h>

Public Member Functions | |
| virtual bool16 | WasCancelled (bool8 setGlobalErrorState=kTrue)=0 |
| virtual void | Abort ()=0 |
| virtual void | DisableChildProgressBars (bool16 disable)=0 |
| virtual bool16 | WasRegisterSuccessful ()=0 |
| virtual void | SetPosition (int32 newPosition) |
Abstract baseclass for stack based Progress bar objects.
| pure virtual |
Call this anytime during the tasks to immediately terminate the entire progress bar process. Usually called when an error condition is encountered during one of the sub tasks.
Implemented in DocWindowProgressBar, BaseProgressBar, and CInterruptOnlyProgressImpl.
| pure virtual |
Call this passing kTrue to keep any subsequent progress bars from subdividing your progress bar.
Implemented in DocWindowProgressBar, BaseProgressBar, and CInterruptOnlyProgressImpl.
| virtual |
Call this to set the position of the progressbar to a location within the specified range.
Reimplemented in DocWindowProgressBar, BaseProgressBar, and CInterruptOnlyProgressImpl.
| pure virtual |
Check this to see if the user cancelled the action.
Implemented in DocWindowProgressBar, BaseProgressBar, and CInterruptOnlyProgressImpl.
| pure virtual |
Was the registration of this progress bar was successful. Not usually necessary to call this. Reasons for failure include another progress bar calling DisableChildProgressBars().
Implemented in DocWindowProgressBar, BaseProgressBar, and CInterruptOnlyProgressImpl.