how to get color text in win32?
well... how do I create colored text in a textbox to mark keywords for a C++ file... like MSVC++ does and other editors.
[EDIT]: I don't use any MFC stuff
[edited by - McZ on April 23, 2004 6:16:31 AM]
There''s two ways to do this. The first is to draw all the text yourself on your window''s client area. Slow and a lot of work. The other is to use the Rich Edit control. Look it up in the MSDN docs. It does require a bit of work, but the control takes care of a lot for you.
Skizz
Skizz
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement