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 = 0,
UI_SWATCHCOLORTYPE_AUTOMATIC = 1,
UI_SWATCHCOLORTYPE_RGB = 2
} ;
Constants
UI_SWATCHCOLORTYPE_NOCOLOR Value: 0 The swatch is transparent. |
UI_SWATCHCOLORTYPE_AUTOMATIC Value: 1 The swatch is filled with a solid RGB color bound to GetSysColor(COLOR_WINDOWTEXT). |
UI_SWATCHCOLORTYPE_RGB Value: 2 The swatch is filled with a solid RGB color. |
Requirements
Requirement | Value |
---|---|
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 |