BCGControlBar Pro for MFC
void CBCGPColorPickerCtrl::SetHLS ( double  hue,
double  luminance,
double  saturation,
BOOL  bInvalidate = TRUE 
)

Forces the current selection to the specified HLS values

Call this member function to force the color selection according to the HLS values.

Parameters
hueSpecifies a hue value
luminanceSpecifies a luminance value
saturationSpecifies a saturation value
bInvalidateSpecifies whether the cursor should point immediately to the newly selected color