다음을 통해 공유


CSliderCtrl::SetRangeMax

Sets the maximum range for the slider in a slider control.

void SetRangeMax(
   int nMax,
   BOOL bRedraw = FALSE 
);

Parameters

  • nMax
    Maximum position for the slider.

  • bRedraw
    The redraw flag. If this parameter is TRUE, the slider is redrawn after the range is set; otherwise the slider is not redrawn.

Requirements

Header: afxcmn.h

See Also

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::SetRange

CSliderCtrl::GetRangeMax

CSliderCtrl::SetRangeMin