PBM_SETRANGE32 message

Sets the minimum and maximum values for a progress bar to 32-bit values, and redraws the bar to reflect the new range.

Parameters

wParam

Minimum range value. By default, the minimum value is zero.

lParam

Maximum range value. This value must be greater than wParam. By default, the maximum value is 100.

Return value

Returns a DWORD value that holds the previous 16-bit low limit in its LOWORD and the previous 16-bit high limit in its HIWORD. If the previous ranges were 32-bit values, the return value consists of the LOWORDs of both 32-bit limits.

Remarks

To retrieve the entire high and low 32-bit values, use the PBM_GETRANGE message.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h