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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. New line character.

New line character.

Scheduled Pinned Locked Moved C / C++ / MFC
question
7 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.
  • E Offline
    E Offline
    esepich
    wrote on last edited by
    #1

    final = line1 + "\n" + line2 + "\n" + line3; The "\n"'s show up as little ticks in the edit box. What gives?

    R 1 Reply Last reply
    0
    • E esepich

      final = line1 + "\n" + line2 + "\n" + line3; The "\n"'s show up as little ticks in the edit box. What gives?

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      Use "\r\n" instead. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

      E 1 Reply Last reply
      0
      • R Ravi Bhavnani

        Use "\r\n" instead. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

        E Offline
        E Offline
        esepich
        wrote on last edited by
        #3

        Now I get a double tick. ????

        R 2 Replies Last reply
        0
        • E esepich

          Now I get a double tick. ????

          R Offline
          R Offline
          Ravi Bhavnani
          wrote on last edited by
          #4

          What kind of control and what font are you using? /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

          1 Reply Last reply
          0
          • E esepich

            Now I get a double tick. ????

            R Offline
            R Offline
            Ravi Bhavnani
            wrote on last edited by
            #5

            Never mind - I see you're using an edit control. Did you enable its "multiline" property? /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

            E 1 Reply Last reply
            0
            • R Ravi Bhavnani

              Never mind - I see you're using an edit control. Did you enable its "multiline" property? /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

              E Offline
              E Offline
              esepich
              wrote on last edited by
              #6

              I'm not quite sure on how to do that.

              R 1 Reply Last reply
              0
              • E esepich

                I'm not quite sure on how to do that.

                R Offline
                R Offline
                Ravi Bhavnani
                wrote on last edited by
                #7

                Set the property in the resource editor. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com

                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