Win32 API: How to change the color of a piece of text in an edit control

I have an edit control. I want to change the color of multiple words (like syntax highlighting). Is it possible?

+3


source to share


1 answer


Not. You will need a Rich Edit Control . There are many examples of online addyng syntax highlighting for rich edit controls. For example. Brighter highlighting of editing syntax .



+6


source







All Articles