Hi
would it be hard to open a text document (lets say Text1) and match it against words in Text2 and if there is a match then highlight the words in Text1(anyhow.. make bold or colour)
and how could i do it?
thanxx
Posted on 2001-10-21 07:20:25 by Kezza
Kezza,
Open Text1 and store its words in a buffer. Then do the same with Text2. Compare these texts (you can also use functions of the DLLs) and if there is a match change that word to other font. You can do everything with the functions of Windows.

Good luck
Posted on 2001-10-21 20:54:01 by CodeLover
hey
thanx but how do I change the font or make it bold?
Posted on 2001-10-21 20:57:19 by Kezza
Use CreateFont, SetTextColor functions. Take a look to Tutorial number 5 in this site. With those functions you can modify the properties of your text.
Posted on 2001-10-21 21:15:30 by CodeLover
ok thanx i will write bak if i got any probs
Posted on 2001-10-21 21:22:27 by Kezza
This sounds alot like syntax highlighting. Check out Iczelions three tutorials on that subject at his web site.
Posted on 2001-10-22 04:11:52 by Eóin