Multi line colors for Rich edit control and static controls using VC++
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have a static control(derived from CStatic) and rich edit controls and it contains two lines. I want to set the color of the first line to blue and the second line to red. Currently I am using the CDialog::OnCtlColor and using the SetTextColor function to set the color. However it sets the color for the whole static control i.e. both the lines. Can someone help? knarasimharao