Thread: Colored text...

  1. #1
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942

    Colored text...

    I'm trying to have syntax coloring for a text editor. I used GetDlgItemText to get the text, but I don't know how to color it. Could somebody please help?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    This comes up periodically and a board search may help with some of your questions:

    Syntax highlighting

    Good luck.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    Ha. I always forget to search :P

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    161
    I remember when I was searching for one. I found alot of controls not free! Now Iam making my own. if you want a free one search for codemax on google. The first page will popup a link to yahoo. You have to register and join the group to download it though. Many of the free editers that I saw on the link above used this dll/control. Its hard to understand at first but after you learn you could do some neet stuff with it like syntax highlighting. Look at the Crimson editor for an example of how the CodeMax control looks like. The control is source code writen in c++.

    Hope this helps

  5. #5

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 03:17 PM
  2. Colored Text in C
    By colorC in forum C Programming
    Replies: 4
    Last Post: 02-23-2004, 04:58 AM
  3. how to cout colored text?
    By Guanhui in forum C++ Programming
    Replies: 1
    Last Post: 07-05-2002, 08:14 AM
  4. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  5. Colored Text
    By Yoshi in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 11-28-2001, 09:46 AM