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

Sets a progress position.

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.
The previous position of the progress indicator.