change background color for multiline CEdit
Posted on 2004-11-17
I need to change background color for multiline CEdit. I followed many examples available to overwrite OnCtlColor, and that only partially worked.
For example my multiline CEdit has 10 lines, and first 5 lines have text. OnCtlColor would only change background color for the first 5, and the rest remain the Windows default color.
How do I make sure all lines got changed color at once?
Probably a common question, but just cant find answers easily. :(