int SetPos( int nPos );
Return Value
The previous position of the progress bar control.
Parameters
nPos
New position of the progress bar control.
Remarks
Sets the progress bar control’s current position as specified by nPos and redraws the bar to reflect the new position.
The position of the progress bar control is not the physical location on the screen, but rather is between the upper and lower range indicated in SetRange.
CProgressCtrl Overview | Class Members | Hierarchy Chart
See Also CProgressCtrl::OffsetPos, CProgressCtrl::SetRange, CProgressCtrl::StepIt