![]() |



Function |
Declared in: NiKnobEvents.h |
Declaration
void OnPointerValueCommitted( long Pointer, VARIANT FAR* Value);
Description
Generated when the value of a pointer has stopped changing.
Note: The control generates this event when the user releases the mouse button after clicking on the control, releases the keys used to change the value of the control, or sets the value programmatically. For some applications, it is better to handle the PointerValueCommitted event rather than the PointerValueChanged event.
Parameters
long Pointer
VARIANT FAR* Value
Contains the index of the pointer that changed.
Variant value that contains the new value of the pointer. This parameter should be used to construct a CNiVariant to get to the variant's data.
See Also
Example
void OnPointerValueCommitted(long Pointer, VARIANT FAR* Value) { m_Knob.Value = CNiVariant(Value); }