PBM_DELTAPOS message

Advances the current position of a progress bar by a specified increment and redraws the bar to reflect the new position.

Parameters

wParam

Amount to advance the position.

lParam

Must be zero.

Return value

Returns the previous position.

Remarks

If the increment results in a value outside the range of the control, the position is set to the nearest boundary.

The behavior of this message is undefined if it is sent 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