CWStatistics
CWStatistics provides access to the statistics kept by the CWKnob and CWSlide controls. The three calculated statistics--minimum, maximum, and mean--are updated each time a pointer value is changed programmatically or graphically.
You can reset the minimum, maximum, and mean values with the Reset method. After resetting the values, minimum and maximum are calculated using only values collected since the last reset.
To continuously display any statistic for a specific pointer, set the mode on the CWPointer object either in the Pointer property page or programmatically.
Properties
Maximum | Returns the maximum value of any pointer since the statistics were last reset. |
Mean | Returns the mean of the last 10 pointer values. |
Minimum | Returns the minimum value of any pointer since the statistics were last reset. |
Methods
Reset | Resets the minimum, maximum, and mean statistics. After resetting the values, the system recalculates the minimum and maximum using only values collected since the last reset. |