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. Line Break Rich Edit

Line Break Rich Edit

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

    I have been using carriage return 0X0AD line feed 0A to break lines on Rich Edit using SF_TEXT until I noticed some of the data I am trying to Dump contains a 0x0d 0X0A causing an inadvertent line break is there an another way to break lines Thanks

    Richard Andrew x64R 1 Reply Last reply
    0
    • F ForNow

      I have been using carriage return 0X0AD line feed 0A to break lines on Rich Edit using SF_TEXT until I noticed some of the data I am trying to Dump contains a 0x0d 0X0A causing an inadvertent line break is there an another way to break lines Thanks

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      I think what you need to do is find another way to represent the 0xAD data so that it doesn't trigger a line break. Like use a special character to represent it in the data stream that you're loading into the control.

      The difficult we do right away... ...the impossible takes slightly longer.

      F 1 Reply Last reply
      0
      • Richard Andrew x64R Richard Andrew x64

        I think what you need to do is find another way to represent the 0xAD data so that it doesn't trigger a line break. Like use a special character to represent it in the data stream that you're loading into the control.

        The difficult we do right away... ...the impossible takes slightly longer.

        F Offline
        F Offline
        ForNow
        wrote on last edited by
        #3

        I thought rich edit uses BOTH CR / LF as new line seems different versions Of Richedit now to 4.1 have different methods of line breaking trying to figure which rich edit dll/class version I am running

        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