-
November 26th, 2012, 12:43 PM
#1
[RESOLVED] Trying to show some rich text in a dialog box.
I have been told to show some text document when our application starts up, it is an EULA. They gave me a word file and I saved this file in a .rtf format. I then wish to show this in a dialog box and found this on code guru:
http://www.codeproject.com/Articles/...-formatting-an
Which seems to be a sub-class that will do all the formatting for me. So I use that class and then load in the .rtf file, using their setRTF method I just get an empty text box.
I just want to be able to show this formatted, somewhat pretty text from this document in my application as close as I can to the original document. Is there an easy way to do that? I could turn it into plain text, but I think that my boss would not be happy about that.
Nevermind, stupid error on my part. it is fixed. I can't figure out how to delete this post.
The problem was that I needed the text box to be marked multi-line.
Last edited by DeepT; November 26th, 2012 at 01:58 PM.
-
November 26th, 2012, 01:14 PM
#2
Re: Trying to show some rich text in a dialog box.
Originally Posted by DeepT
... I can't figure out how to delete this post.
You cannot. Only moderators can.
You could ask them about deleting. Or, a least, mark this thread as "Resolved"
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|