UI_PKEY_ColorType

Identifies the UI_PKEY_ColorType property.

propertyDescription
   name = UI_PKEY_ColorType
   shellPKey = UI_PKEY_ColorType
   formatID = 00000401-7363-696e-8441798acf5aebb7
   propID = 401
   typeInfo
      type = UI_SWATCHCOLORTYPE

Remarks

UI_PKEY_ColorType is used by an application to query color setting of the DropDownColorPicker control.

The property value is from the UI_SWATCHCOLORTYPE enumeration.

Property Description
UI_SWATCHCOLORTYPE_NOCOLOR Application should treat the color setting as transparent. Typically used in conjunction with the No color color setting.
UI_SWATCHCOLORTYPE_AUTOMATIC Application should query GetSysColor(COLOR_WINDOWTEXT). Typically used in conjunction with the Automatic color setting.
UI_SWATCHCOLORTYPE_RGB Application should query UI_PKEY_Color for the color setting.

 

UI_PKEY_ColorType is passed to the IUICommandHandler::Execute callback method when a color swatch is selected in a DropDownColorPicker.

Color Picker Properties