COMPCOLOR structure (richedit.h)
Contains color settings for a composition string.
Syntax
typedef struct _compcolor {
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | richedit.h |
See also
Other Resources
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for