Share via


CMFCColorPickerCtrl::SetHLS

Sets the current color to the specified HLS color value.

void SetHLS(
   double hue,
   double luminance,
   double saturation,
   BOOL bInvalidate=TRUE 
);

Parameters

  • [in] hue
    A hue value.

  • [in] luminance
    A luminance value.

  • [in] saturation
    A saturation value.

  • [in] bInvalidate
    TRUE to force the window to immediately update to the new color; otherwise, FALSE. The default is TRUE.

Requirements

Header: afxcolorpickerctrl.h

See Also

Reference

CMFCColorPickerCtrl Class

Hierarchy Chart