Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the range of minimum and maximum logical positions for the slider in a trackbar.
-
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
-
The LOWORD specifies the minimum position for the slider, and the HIWORD specifies the maximum position.
No return value.
If the current slider position is outside the new range, the TBM_SETRANGE message sets the slider position to the new maximum or minimum value.
Because this message takes two 16-bit unsigned integer values, the maximum range that this message can specify is from 0 to 65,535. To specify larger range values, use the TBM_SETRANGEMIN and TBM_SETRANGEMAX messages.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
-
Reference