UI_SWATCHCOLORTYPE enumeration (uiribbon.h)

Specifies the values that identify how a color swatch in a DropDownColorPicker or a FontControl color picker (Text color or Text highlight) is filled.

Note  These are recommendations only. The application can associate any fill type with these values.
 

Syntax

typedef enum UI_SWATCHCOLORTYPE {
  UI_SWATCHCOLORTYPE_NOCOLOR,
  UI_SWATCHCOLORTYPE_AUTOMATIC,
  UI_SWATCHCOLORTYPE_RGB
} ;

Constants

Name Description
UI_SWATCHCOLORTYPE_NOCOLOR The swatch is transparent.
UI_SWATCHCOLORTYPE_AUTOMATIC The swatch is filled with a solid RGB color bound to GetSysColor(COLOR_WINDOWTEXT).
UI_SWATCHCOLORTYPE_RGB The swatch is filled with a solid RGB color.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Header uiribbon.h

See also

Constants and Enumerations