TBM_SETPOS message
Sets the current logical position of the slider in a trackbar.
Parameters
-
wParam
-
Redraw flag. If this parameter is TRUE, the message redraws the control with the slider at the position given by lParam. If this parameter is FALSE, the message does not redraw the slider at the new position. Note that the message sets the value of the slider position (as returned by the TBM_GETPOS message) regardless of the wParam parameter.
-
lParam
-
New logical position of the slider. Valid logical positions are the integer values in the trackbar's range of minimum to maximum slider positions. If this value is outside the control's maximum and minimum range, the position is set to the maximum or minimum value.
Return value
No return value.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|