Progress Bar
This section contains information about the programming elements used with progress bar controls.
Overviews
| Topic | Contents |
|---|---|
| Progress Bar Control |
A progress bar is a window that an application can use to indicate the progress of a lengthy operation. |
Messages
| Topic | Contents |
|---|---|
| PBM_DELTAPOS |
Advances the current position of a progress bar by a specified increment and redraws the bar to reflect the new position. |
| PBM_GETBARCOLOR |
Gets the color of the progress bar. |
| PBM_GETBKCOLOR |
Gets the background color of the progress bar. |
| PBM_GETPOS |
Retrieves the current position of the progress bar. |
| PBM_GETRANGE |
Retrieves information about the current high and low limits of a given progress bar control. |
| PBM_GETSTATE |
Gets the state of the progress bar. |
| PBM_GETSTEP |
Retrieves the step increment for a progress bar. The step increment is the amount by which the progress bar increases its current position whenever it receives a PBM_STEPIT message. |
| PBM_SETBARCOLOR |
Sets the color of the progress indicator bar in the progress bar control. |
| PBM_SETBKCOLOR |
Sets the background color in the progress bar. |
| PBM_SETMARQUEE |
Sets the progress bar to marquee mode. This causes the progress bar to move like a marquee. |
| PBM_SETPOS |
Sets the current position for a progress bar and redraws the bar to reflect the new position. |
| PBM_SETRANGE |
Sets the minimum and maximum values for a progress bar and redraws the bar to reflect the new range. |
| PBM_SETRANGE32 |
Sets the range of a progress bar control to a 32-bit value. |
| PBM_SETSTATE |
Sets the state of the progress bar. |
| PBM_SETSTEP |
Specifies the step increment for a progress bar. The step increment is the amount by which the progress bar increases its current position whenever it receives a PBM_STEPIT message. By default, the step increment is set to 10. |
| PBM_STEPIT |
Advances the current position for a progress bar by the step increment and redraws the bar to reflect the new position. An application sets the step increment by sending the PBM_SETSTEP message. |
Structures
| Topic | Contents |
|---|---|
| PBRANGE |
Contains information about the high and low limits of a progress bar control. This structure is used with the PBM_GETRANGE message. |
Constants
| Topic | Contents |
|---|---|
| Progress Bar Control Styles |
The following control styles are supported by Progress Bar controls: |