Swap()
Public Function |
Declared in: NiValuepairs.h |
Declaration
void Swap( long element1, long element2);
Description
Swaps two value pair elements, altering their indices.
Note: This function is useful on CNiSlide and CNiKnob controls in ValuePairsOnly mode.
Parameters
long element1
long element2
Specifies the index of a value pair to be swapped.
Specifies the index of a second value pair to be swapped.