Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.69 KB

pbm-setrange32.md

File metadata and controls

62 lines (39 loc) · 1.69 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
PBM_SETRANGE32 message (Commctrl.h)
Sets the minimum and maximum values for a progress bar to 32-bit values, and redraws the bar to reflect the new range.
7958ea14-17b4-4c0e-97ec-b09fa0d36e8b
PBM_SETRANGE32 message Windows Controls
apiref
PBM_SETRANGE32
Commctrl.h
HeaderDef
reference
05/31/2018

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