I have a CNiKnob for setting volt ranges. The pointer fillstyle is "Fill to Value less than". This works fine until I change the knob's value pairs...
- I clear all value pairs.
- Add the new value pairs.
- Do a SetValuePairIndex() to update the pointer.
The new pointer value appears correct, but the fillcolor level does not match the new ValuepairIndex. The colour appears to stay pointing to the same spot as it was at before changing the valuepairs. If I use the mouse to change the pointer, the colour level will then match the value.
I've tried CNiKnob.Refresh() and others, to no avail. How can I force the fillcolor to redraw to match the pointer?
(See attached bitmaps to view the pro
blem)