BCGSuite for MFC
virtual BOOL CBCGPCircularGaugeImpl::SetValue ( double  dblVal,
int  nIndex = 0,
UINT  uiAnimationTime = 100,
BOOL  bRedraw = FALSE 
)
virtual

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.

Parameters
dblValGauge value.
nIndexScale 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.