Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

Reference
CHARFORMAT
Other Resources
COLORREF
RGB

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.