2 out of 2 rated this helpful - Rate this topic

PBM_SETPOS message

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Value
0x402 &H402