VPCOLORFLAGS enumeration (shobjidl.h)

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

Syntax

typedef enum VPCOLORFLAGS {
  VPCF_TEXT,
  VPCF_BACKGROUND,
  VPCF_SORTCOLUMN,
  VPCF_SUBTEXT,
  VPCF_TEXTBACKGROUND
} ;

Constants

Name Description
VPCF_TEXT A text color.
VPCF_BACKGROUND A background color.
VPCF_SORTCOLUMN A sort-column color.
VPCF_SUBTEXT A subtext color.
VPCF_TEXTBACKGROUND Windows 7 and later. A text background color.

Requirements

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