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

Sets the object value.

Parameters
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.
Returns
TRUE if it succeeds, FALSE if it fails.

Reimplemented in CBCGPGaugeImpl, CBCGPCircularGaugeImpl, and CBCGPLinearGaugeImpl.