◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINSCROLLBARS SBM_SETPOS mp1 = MPFROMSHORT((SHORT) sPos); /* slider position */ mp2 = 0L; /* not used, must be zero */ An application sends an SBM_SETPOS message to set the slider position in a scroll-bar window. If the position specified is outside the valid range of slider positions, the slider is moved to the nearest valid position. Parameter Description ──────────────────────────────────────────────────────────────────────────── sPos Low word of mp1. Specifies the slider position. Return Value The return value is always TRUE. See Also SBM_QUERYPOS, SBM_QUERYRANGE, SBM_SETSCROLLBAR ♦