Programming with Color Numeric Controls

Use SetCtrlVal to set a color numeric control to a particular value. Use GetCtrlVal to obtain the current value of a color numeric control.

A color numeric control has a fixed data type of unsigned long int. Refer to Using Colors for a description of the numeric representation of an RGB color value.