Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

McZ

how to get color text in win32?

This topic is 5200 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!