Rediger

Del via


TDM_SET_PROGRESS_BAR_RANGE message

Sets the minimum and maximum values for the progress bar in a task dialog.

Parameters

wParam [in]

Must be zero.

lParam [in]

The LOWORD specifies the minimum value. By default, the minimum value is zero. The HIWORD specifies the maximum value. By default, the maximum value is 100.

Return value

Returns the previous minimum and maximum values, if successful, or zero otherwise. The LOWORD contains the minimum value, and the HIWORD contains the maximum value.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h