TBM_SETPOS
The
TBM_SETPOS message sets the current position of the slider in a trackbar.
TBM_SETPOS
wParam = (WPARAM) (BOOL) fPosition;
lParam = (LPARAM) (LONG) lPosition;
Parameters
fPosition
Position
flag. If this parameter is TRUE, the message sets the slider to the position
given by lPosition. Otherwise, the message ensures that the current
position is within the current minimum and maximum positions, but it does not
move the slider.
lPosition
New position
of the slider.
Return Values
No return
value.