PBM_SETSTATE message

Sets the state of the progress bar.

Parameters

wParam

State of the progress bar that is being set. One of the following values.

ValueMeaning
PBST_NORMAL

In progress.

PBST_ERROR

Error.

PBST_PAUSED

Paused.

 

lParam
Must be zero.

Return value

Returns the previous state.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Show: