Compartir a través de


CMFCColorPickerCtrl::SetType

Sets the type of color picker control to display.

void SetType(
   COLORTYPE colorType 
);

Parameters

  • [in] colorType
    A color picker control type.

    The types are defined by the CMFCColorPickerCtrl::COLORTYPE enumeration. The possible types are LUMINANCE, PICKER, HEX and HEX_GREYSCALE. The default type is PICKER.

Remarks

To specify a color picker control type, call this method before the Windows control is created.

Requirements

Header: afxcolorpickerctrl.h

See Also

Reference

CMFCColorPickerCtrl Class

Hierarchy Chart