BCGControlBar Pro for MFC
virtual BOOL CBCGPLinearGaugeImpl::SetValue ( double  dblVal,
int  nScale = 0,
UINT  uiAnimationTime = 100,
BOOL  bRedraw = FALSE 

Sets a gauge value.

Call this method to set a gauge value. A pointer will move to the new position specified by dblVal smoothly (with animation) if uiAnimationTime differs from 0.

dblValGauge value.
nScaleScale index.
uiAnimationTimeAnimation time. Set this value to 0 in order to avoid animation effect. Otherwise, the pointer will be moved to a new position smoothly.
bRedrawRedraw gauge.

Reimplemented from CBCGPGaugeImpl.