Milestones
Contains functions for managing progress bar milestones.
There are two ways in which you can set the position of a progress bar:
- Use the ProgressBar_SetPercentage function to set the progress bar to a specific percentage value.
- Define a set of milestones ahead of time, each with a percentage value associated with it, and then use the ProgressBar_AdvanceMilestone function to sequentially advance through the milestone list. Milestones can represent predetermined points
during the task associated with the progress bar session in which it is convenient to update the progress bar.
For example, you might want to use milestones if you have a set of tasks where each task takes a different amount of time.
An advantage of using milestones is that the control can automatically adjust the percentage that each of the milestones represents or the rate at which the progress bar advances toward each milestone based on the actual amount of time elapsed before you explicitly advance the milestone. To automatically adjust the percentage or rate, the progress bar tracks the elapsed times internally throughout the lifetime of the application.
Library: Progress Bar Control