Rediger

Del via


TBM_SETRANGEMAX message

Sets the maximum logical position for the slider in a trackbar.

Parameters

wParam

Redraw flag. If this parameter is TRUE, the trackbar is redrawn after the range is set. If this parameter is FALSE, the message sets the range but does not redraw the trackbar.

lParam

Maximum position for the slider.

Return value

No return value.

Remarks

If the current slider position is greater than the new maximum, the TBM_SETRANGEMAX message sets the slider position to the new maximum value.

Requirements

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

See also

Reference

TBM_SETRANGE

TBM_SETRANGEMIN