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

    problem with Edit Text

    is there possible to make Edit Control Detect \n as end of line ?

  2. #2
    Join Date
    Apr 2003
    Posts
    1,755

    Smile

    Do you mean passing a string with "\n" to edit text. Edit text can only accept the "\r\n" combination as end of line marker. Maybe what you can do is to insert "\r" every time you find "\n" before passing it to the edit control.

    Hope it will help you

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