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

    How do I wrap text in Editbox?

    I have embedded an Edit box in my dialog during design time with styles 'Multiline', 'Horizontal
    Scroll' and 'Vertical Scroll'.

    During runtime, I set text to this edit box with SetWindowText. The set text extends the
    dimensions of the edit box and so I want the text to be wrapped dynamically.

    How could I achieve this ?

    Note : I also tried changing the styles to 'Auto HScroll',
    'Auto VScroll', etc.

    Thanks in advance.

  2. #2
    Join Date
    May 2007
    Posts
    437

    Re: How do I wrap text in Editbox?

    ashu
    always use code tag

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