COMPCOLOR

The COMPCOLOR structure contains color settings for a composition string.

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

Members

crText
Color of text.
crBackground
Color of background.
dwEffects
Character effect values as described for the dwEffects member in the CHARFORMAT structure.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.

See Also

Rich Edit Controls Overview, Rich Edit Structures, CHARFORMAT