CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Posts
    14

    TextBox and Picture

    Is it posible to Open a Picture inside a TextBox, I want to put a big text in TextBox buth this text have some pictures.
    How can I have two difrent font-size in the same TextBox.


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: TextBox and Picture

    The TextBox control was never intended to be used with Pictures and multiple font sizes.
    You need to use the control called "RichTextBox".
    You add this control to your project by going to Project/Components and selecting "Microsoft RichTextBox control". It reacts much like a regular textbox but has many more capabilities including being able to handle pictures and multiple font sizes and colors.

    John G

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