PBM_SETPOS

This message sets the current position for a progress bar and redraws the bar to reflect the new position.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

PBM_SETPOS nNewPos = (WPARAM) wParam;

Parameters

nNewPos

Signed integer that becomes the new position.

Return Values

The previous position indicates success.