Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message sets the range of a progress bar control to a 32-bit value.

Syntax

PBM_SETRANGE32 
wParam = (WPARAM)(int) 

iLowLim;

lParam = (LPARAM)(int) 

iHighLim;

Parameters

iLowLim

Specifies a 32-bit value that represents the low limit to be set for the progress bar control.

iHighLim

Specifies a 32-bit value that represents the high limit to be set for the progress bar control.

Return Value

Returns a DWORDthat holds the previous 16-bit low limit in its low-order word, and the previous 16-bit high limit in its high-order word. If the previous ranges were 32-bit values, the return value consists of the low-order words of both 32-bit limits.

Remarks

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also