BCGSuite for MFC
double CBCGPCircularProgressIndicatorImpl::SetPos ( double  nPos,
UINT  uiAnimationTime = 0 
)

Sets a progress position.

Parameters
nPosThe progress bar value.
uiAnimationTimeAnimation time. Set this value to 0 in order to avoid animation effect. Otherwise, the bar will be moved to a new position smoothly.
Returns
The previous position of the progress indicator.