How can I get more than one line with an editbox when pasting text?

This is a discussion on How can I get more than one line with an editbox when pasting text? within the Windows Programming forums, part of the Platform Specific Boards category; I just started learning MFC's with Visual C++ .NET I want to make an edit box where you can paste ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    118

    How can I get more than one line with an editbox when pasting text?

    I just started learning MFC's with Visual C++ .NET
    I want to make an edit box where you can paste more than one line of text, I set the "Multiline" to true and I still cant paste more than one line (when I try it just makes that "you cant do that" sound and does nothing).

    What would be the best way to get many lines of text?

    Thanks in advance.

    EDIT: I forgot to say, I dont want only to get like 2 or 3 lines, I need it to get like a page from a book or something very long.

    EDIT#2: Never mind I found my answer, please delete this topic.
    Last edited by Marcos; 05-22-2005 at 05:52 PM.
    Why drink and drive when you can smoke and fly?

  2. #2
    Registered User
    Join Date
    May 2005
    Posts
    28
    It's helpful to others when you post your answer, for future reference I, even though its no use to me now, would be interested in knowing, for example.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading text file by line number
    By whiskedaway in forum C++ Programming
    Replies: 13
    Last Post: 06-16-2009, 11:09 AM
  2. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 01:23 AM
  3. Is there any way to read a line from a text file?
    By megareix in forum C Programming
    Replies: 13
    Last Post: 01-09-2009, 01:13 PM
  4. how do you read a whole line of text from a txt file
    By themexican in forum C++ Programming
    Replies: 3
    Last Post: 10-18-2005, 10:17 AM
  5. text line termination
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 09-09-2001, 05:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21