How to chage Static Text Control's text color?
-
I add a Static Text control in a form. Now I want to change its text's color to Green.Could somebody give me some advice? Thanks in advance. Peter.
-
I add a Static Text control in a form. Now I want to change its text's color to Green.Could somebody give me some advice? Thanks in advance. Peter.
Maybe you want to use of this message
WM_CTLCOLORSTATIC
and on the this message use ofSetTextColor();
for color andSetBkColor()
for background.
WhiteSky
-
Maybe you want to use of this message
WM_CTLCOLORSTATIC
and on the this message use ofSetTextColor();
for color andSetBkColor()
for background.
WhiteSky
I finally find the right function. I should use SetTextColor. Now I works. :laugh:Thanks for your reminding. Peter.
-
I finally find the right function. I should use SetTextColor. Now I works. :laugh:Thanks for your reminding. Peter.
You're welcome.;)
WhiteSky