Colored Text in win32 window
-
Plz, Help! I need to set colored text in win32 window - in code. but it must be no only one color - it must be 3 colors to specified texts - one text blue, one text - red one - text green and all texts must be at ones in one window. plz, help!
-
Plz, Help! I need to set colored text in win32 window - in code. but it must be no only one color - it must be 3 colors to specified texts - one text blue, one text - red one - text green and all texts must be at ones in one window. plz, help!
You should check TextOut function[^] And also read about objects like Pens and Fonts.
Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )
-
Plz, Help! I need to set colored text in win32 window - in code. but it must be no only one color - it must be 3 colors to specified texts - one text blue, one text - red one - text green and all texts must be at ones in one window. plz, help!
SetTextColor. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
Plz, Help! I need to set colored text in win32 window - in code. but it must be no only one color - it must be 3 colors to specified texts - one text blue, one text - red one - text green and all texts must be at ones in one window. plz, help!
For each text you can use of SetTextColor.