TBM_SETRANGEMAXTBM_SETRANGEMAX*
*Contents  *Index  *Topic Contents
*Previous Topic: TBM_SETRANGE
*Next Topic: TBM_SETRANGEMIN

TBM_SETRANGEMAX


TBM_SETRANGEMAX 
    wParam = (WPARAM) fRedraw; 
    lParam = (LPARAM) lMaximum; 

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

fRedraw
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.
lMaximum
Maximum position for the slider.

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

See also TBM_SETRANGE, TBM_SETRANGEMIN


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.