Robert May
-
2005-11-30
- priority: 5 --> 4
Looking at CHARFORMAT2, specifically dwMask - CFM_BACKCOLOR
It would appear from MSDN that this would enable the
background of the Selected Text to have an alternate
background colour as well or instead of just the
foreground or font colour.
This would enable syntax highlighting or markup
highlighting of text.
MSDN Reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols.asp
Cheers
ChrisW