PBM_SETRANGE
This message sets the minimum and maximum values for a progress bar and redraws the bar to reflect the new range.
PBM_SETRANGE (
nMinRange,
nMaxRange) = (MAKELPARAM) lParam;
Parameters
- nMinRange
Minimum range value. By default, the minimum value is zero. - nMaxRange
Maximum range value. By default, the maximum value is 100.
Return Values
The previous range values indicate success. Zero indicates otherwise. The low-order word specifies the previous minimum value, and the high-order word specifies the previous maximum value.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.