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

Sets the object value.

dblValThe value.
nIndexThe index of the data object.
uiAnimationTimeThe animation time in milliseconds. Pass 0 to change the data without animation effect.
bRedrawSpecifies whether an object should be redrawn.
TRUE if it succeeds, FALSE if it fails.

Reimplemented in CBCGPGaugeImpl, CBCGPCircularGaugeImpl, and CBCGPLinearGaugeImpl.