CSliderCtrl::SetRange

This method sets the range (minimum and maximum positions) for the slider in a slider control.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void SetRange( int nMin, int nMax, BOOL bRedraw = FALSE );

See Also

CSliderCtrl::GetRange, CSliderCtrl::SetRangeMax, CSliderCtrl::SetRangeMin