RichText Colored Links

Jul 14 2008 7:41 AM


Hi everybody

I'm working in a windows application where I need to set Text

in a richtext control but that text has some links (not web links)

Example: This's my photo( when user clicks my photo, the photo id of that user has to be retrieved to display it for example)

The links has to take different colors ( rather that the default blue)

I successfully insert the links using CHARFORMAT2 structure

But I've tried alot of procedures to change the link color and none of them works :(

I don't insist on using richtext control but I think it's the suitable one in this case

I'll appreciate any help or suggestions

Thanx in advance,


Answers (2)