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

Public Member Functions | |
| bool16 | WasCancelled (bool8 setGlobalErrorState=kTrue) |
| void | Abort () |
| void | DisableChildProgressBars (bool16 disable) |
| bool16 | WasRegisterSuccessful () |
| void | SetPosition (int32 newPosition) |
Protected Member Functions | |
| BaseProgressBar (int32 nType, const PMString &progressDialogTitle, int32 taskStart, int32 taskEnd, bool8 showImmediate, bool8 showCancel, IProgressBarControlData *customProgress, bool32 useTwoBars) | |
Protected Attributes | |
| IProgressBarManager * | fProgressMgr |
| int32 | fnBarID |
Concrete/generic progress bar - used as a starting point for various types of progress bars. Intended to be used as a stack based object, the lifetime of the progress bar corresponding to the scope of the object.
| protected |
Constructor
| nType | IN the progress bar type |
| progressDialogTitle | IN dialog title |
| taskStart | IN value corresponding to the start of the bar |
| taskEnd | IN value corresponding to the end of the bar |
| showImmediate | IN show the progress bar dialog immediately |
| showCancel | IN make the cancel button visible |
| customProgress | IN custom progress bar control data |
| useTwoBars | IN one bar or two (for subtasks) |
| 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.
Implements CProgressBar.
| virtual |
Call this passing kTrue to keep any subsequent progress bars from subdividing your progress bar.
Implements CProgressBar.
| virtual |
Call this to set the position of the progressbar to a location within the specified range.
Reimplemented from CProgressBar.
| virtual |
Check this to see if the user cancelled the action.
Implements CProgressBar.
| 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().
Implements CProgressBar.