CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2010
    Posts
    10

    Unhappy Any ways to make a text container like this?

    I am working on windows form programming with C++. Now I want to have a text container.
    Several requirements are noted:

    - it can display TAB as separations just like those in MS Word.
    - it can have a transparent background
    - it can have multi-line text

    The following features are NOT needed:
    - Input by users.( Just show some defined text. No user input needed )
    - Scrolling.

    Any ideas are welcomed!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,395

    Re: Any ways to make a text container like this?

    How about a Notepad? (MFC CEditView/CEdit derived class - just set it as ReadOnly to prevent user input)
    Or CRichEditView/CRichEditCtrl
    Victor Nijegorodov

  3. #3
    Join Date
    Jun 2010
    Posts
    10

    Unhappy Re: Any ways to make a text container like this?

    Quote Originally Posted by VictorN View Post
    How about a Notepad? (MFC CEditView/CEdit derived class - just set it as ReadOnly to prevent user input)
    Or CRichEditView/CRichEditCtrl
    I am using a "Windows Form Application" project in VS2005 and I do not know how to use your suggested tool....

    P.S. If Transparent Background is not OK, allowing for Background Image can also satisfy my needs.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,395

    Re: Any ways to make a text container like this?

    Quote Originally Posted by Hiner View Post
    I am using a "Windows Form Application" project in VS2005 and I do not know how to use your suggested tool....
    Then you have asked it in the wrong Forum.
    Try Managed C++ and C++/CLI
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured