VPCOLORFLAGS enumeration (shobjidl.h)

Specifies the use of a color. Used by IVisualProperties methods.

Syntax

typedef enum VPCOLORFLAGS {
  VPCF_TEXT = 1,
  VPCF_BACKGROUND = 2,
  VPCF_SORTCOLUMN = 3,
  VPCF_SUBTEXT = 4,
  VPCF_TEXTBACKGROUND = 5
} ;

Constants

 
VPCF_TEXT
Value: 1
A text color.
VPCF_BACKGROUND
Value: 2
A background color.
VPCF_SORTCOLUMN
Value: 3
A sort-column color.
VPCF_SUBTEXT
Value: 4
A subtext color.
VPCF_TEXTBACKGROUND
Value: 5
Windows 7 and later. A text background color.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header shobjidl.h