Call this member function to set the range (minimum and maximum positions) for the slider in a slider control.
void SetRange( int nMin, int nMax, BOOL bRedraw = FALSE );
Header file: | Afxcmn.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CSliderCtrl Overview, CSliderCtrl Member Functions, Control Classes, CSliderCtrl::GetRange, CSliderCtrl::SetRangeMax, CSliderCtrl::SetRangeMin