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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft