Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Multiple Line Edit

Multiple Line Edit

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raner
    wrote on last edited by
    #1

    I want to update some text to an edit box (UpdateData(FALSE)), however i find the words displayed in a long single line...I've changed the style of the edit box to Multiline (and checked AutoVSCroll and Vertical Scroll) , but it doesnt automatically display the text in multiline form. I tried m_csText ="i want \n mulitline" too...but it doesnt work. anyone know why or what to do? thks

    B 1 Reply Last reply
    0
    • R raner

      I want to update some text to an edit box (UpdateData(FALSE)), however i find the words displayed in a long single line...I've changed the style of the edit box to Multiline (and checked AutoVSCroll and Vertical Scroll) , but it doesnt automatically display the text in multiline form. I tried m_csText ="i want \n mulitline" too...but it doesnt work. anyone know why or what to do? thks

      B Offline
      B Offline
      blagrang
      wrote on last edited by
      #2

      try \r\n instead of \n It should work Ben

      R 2 Replies Last reply
      0
      • B blagrang

        try \r\n instead of \n It should work Ben

        R Offline
        R Offline
        raner
        wrote on last edited by
        #3

        Hey it works! Thanks alot!:laugh:

        1 Reply Last reply
        0
        • B blagrang

          try \r\n instead of \n It should work Ben

          R Offline
          R Offline
          raner
          wrote on last edited by
          #4

          Hi while we are at it, i was wondering if we can do bolding, using similar method, as well?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups