CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004

    [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:

    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 12:58 PM.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: Trying to show some rich text in a dialog box.

    Quote Originally Posted by DeepT View Post
    ... 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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.