Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
COMPCOLOR

COMPCOLOR structure

Contains color settings for a composition string.

Syntax


typedef struct {
  COLORREF crText;
  COLORREF crBackground;
  DWORD    dwEffects;
} COMPCOLOR;

Members

crText

Type: COLORREF

Color of text. To generate a COLORREF, use the RGB macro.

crBackground

Type: COLORREF

Color of background. To generate a COLORREF, use the RGB macro.

dwEffects

Type: DWORD

Character effect values as described for the dwEffects member in the CHARFORMAT structure.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richedit.h

See also

Reference
CHARFORMAT
Other Resources
COLORREF
RGB

 

 

Community Additions

ADD
Show:
© 2015 Microsoft