Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating RTF formated output

Status
Not open for further replies.

fenris

Programmer
May 20, 1999
824
CA
I have a string that I want to save to an rtf file, but I want the words (or groups of words) to have colors associated with them. I would like to then be able to open up the rtf file in a rich text box control and display the formated, colored text to the user. I have a routine that formats text already in the richtext box, but this is not what I am looking for. This is a log file process, so the user will periodically upon up the log and view the contents.

Are there any better suggestions to accomplish this task.

Ideally I am looking to pass a string to the logging function along with the color and it then appends it to the log file.

Any ideas? Troy Williams B.Eng.
fenris@hotmail.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top