Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 1.37 KB

pbm-setpos.md

File metadata and controls

66 lines (38 loc) · 1.37 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
PBM_SETPOS message (Commctrl.h)
Sets the current position for a progress bar and redraws the bar to reflect the new position.
9ebeaa19-0f42-4af7-85d8-aae22498fd6f
PBM_SETPOS message Windows Controls
apiref
PBM_SETPOS
Commctrl.h
HeaderDef
reference
05/31/2018

PBM_SETPOS message

Sets the current position for a progress bar and redraws the bar to reflect the new position.

Parameters

wParam

Signed integer that becomes the new position.

lParam

Must be zero.

Return value

Returns the previous position.

Remarks

If wParam is outside the range of the control, the position is set to the closest boundary.

Do not send this message to a control that has the PBS_MARQUEE style.

Requirements

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