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. Please Help:: CEdit

Please Help:: CEdit

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 3 Posters 1 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.
  • T Offline
    T Offline
    TooLeeDiN
    wrote on last edited by
    #1

    I have two simple CEdit for recevie input and display output. 1. In the output I can't use \n for new line,what the instruction for take new line? 2. In the input I need to receive the enter key but I can't. Please tell the way to solve two problem. Thank you

    J S 2 Replies Last reply
    0
    • T TooLeeDiN

      I have two simple CEdit for recevie input and display output. 1. In the output I can't use \n for new line,what the instruction for take new line? 2. In the input I need to receive the enter key but I can't. Please tell the way to solve two problem. Thank you

      J Offline
      J Offline
      Jack Puppy
      wrote on last edited by
      #2

      1. Try \r\n 2. There should be a property for CEdit called "Want Return" or "Want Enter" that you can set in the dialog editor that will enable multiline.

      :cool: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!

      1 Reply Last reply
      0
      • T TooLeeDiN

        I have two simple CEdit for recevie input and display output. 1. In the output I can't use \n for new line,what the instruction for take new line? 2. In the input I need to receive the enter key but I can't. Please tell the way to solve two problem. Thank you

        S Offline
        S Offline
        Sujan Christo
        wrote on last edited by
        #3

        Hi, In the styles page of Edit Ctrl enable multiline and use "\r\n" Sujan

        T 1 Reply Last reply
        0
        • S Sujan Christo

          Hi, In the styles page of Edit Ctrl enable multiline and use "\r\n" Sujan

          T Offline
          T Offline
          TooLeeDiN
          wrote on last edited by
          #4

          \r\n so work!!! Thank you.

          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