Share via


Settings for the Progress Control

OverviewSample

The basic settings for the progress control () are the range and current position. The range represents the entire duration of the operation. The current position represents the progress that your application has made toward completing the operation. Any changes to the range or position cause the progress control to redraw itself.

By default, the range is set to 0 – 100, and the initial position is set to 0. To retrieve the current range settings for the progress control, use the member function. To change the range, use the member function.

To set the position, use . To retrieve the current position without specifying a new value, use . For example, you might want to simply query on the status of the current operation.

To step the current position of the progress control, use . To set the amount of each step, use

See Also   Windows Common Controls and MFC Classes