Windows Dev Center

UI_SWATCHCOLORTYPE enumeration

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
} UI_SWATCHCOLORTYPE;

Constants

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

IDL

Uiribbon.idl

See also

Constants and Enumerations

 

 

Community Additions

ADD
Show:
© 2015 Microsoft