CProgressCtrl::SetPos

This method sets the progress bar control’s current position as specified by nPos, and redraw the bar to reflect the new position.

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

int SetPos( int nPos );

See Also

CProgressCtrl::OffsetPos, CProgressCtrl::SetRange, CProgressCtrl::StepIt