CProgressCtrl::SetRange

This method sets the upper and lower limits of the progress bar control’s range, and redraw the bar to reflect the new ranges.

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 nLower, int nUpper );

See Also

CProgressCtrl::OffsetPos, CProgressCtrl::SetPos, CProgressCtrl::StepIt