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

Sets value for the specified scale.

Call this method to set a values for a scale specified by nIndex.

You can set uiAnimationTime to animate the scale pointer while it's moving towards the target value specified by dblValue.

Parameters
dblValSpecifies the target value to set.
nIndexSpecifies scale index.
uiAnimationTimeSpecifies animation time. Set to 0 to set the value without animation.
bRedrawTRUE - redraw the gauge.

Reimplemented from CBCGPBaseVisualObject.

Reimplemented in CBCGPCircularGaugeImpl, and CBCGPLinearGaugeImpl.