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. About Rich Edit Control : CRichEditCtrl -- how much text can it show correctly? i want to show more..

About Rich Edit Control : CRichEditCtrl -- how much text can it show correctly? i want to show more..

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
6 Posts 4 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.
  • M Offline
    M Offline
    Mahesh_Pawar
    wrote on last edited by
    #1

    Hi Experts, I m using CRichEditCtrl for my application. in which I paste the clipboard data into the control using paste method. but there is limitation of Data displayed and copied.. for example > If I copy a file data of size about 65KB then it works fine.. but when I copy full file ( more than 65 KB about 120 KB size) then it takes only 65 KB and remaining data is neglected..... so plz Help me I want to increase my Rich edit's capacity or suggest any other control that have more ability. ur reply matters me.... I m waiting.,.. Thanks in advance.

    S S D 3 Replies Last reply
    0
    • M Mahesh_Pawar

      Hi Experts, I m using CRichEditCtrl for my application. in which I paste the clipboard data into the control using paste method. but there is limitation of Data displayed and copied.. for example > If I copy a file data of size about 65KB then it works fine.. but when I copy full file ( more than 65 KB about 120 KB size) then it takes only 65 KB and remaining data is neglected..... so plz Help me I want to increase my Rich edit's capacity or suggest any other control that have more ability. ur reply matters me.... I m waiting.,.. Thanks in advance.

      S Offline
      S Offline
      scorpion king
      wrote on last edited by
      #2

      The only limitation may be physical memory of your system.

      M 1 Reply Last reply
      0
      • S scorpion king

        The only limitation may be physical memory of your system.

        M Offline
        M Offline
        Mahesh_Pawar
        wrote on last edited by
        #3

        but when i copy same data and paste it in other document, the whole data get copied........

        S 1 Reply Last reply
        0
        • M Mahesh_Pawar

          but when i copy same data and paste it in other document, the whole data get copied........

          S Offline
          S Offline
          scorpion king
          wrote on last edited by
          #4

          http://books.google.co.in/books?id=1jRhOzT8WdYC&pg=PT971&lpg=PT971&dq=Richedit+control+%2B+VC%2B%2B+%2B+limitation+on+text&source=web&ots=7AjLiL2WCz&sig=-uWzm0TujxQLq_XJ4DeFibSB044&hl=en#PPT971,M1[^] may be it will help you.

          1 Reply Last reply
          0
          • M Mahesh_Pawar

            Hi Experts, I m using CRichEditCtrl for my application. in which I paste the clipboard data into the control using paste method. but there is limitation of Data displayed and copied.. for example > If I copy a file data of size about 65KB then it works fine.. but when I copy full file ( more than 65 KB about 120 KB size) then it takes only 65 KB and remaining data is neglected..... so plz Help me I want to increase my Rich edit's capacity or suggest any other control that have more ability. ur reply matters me.... I m waiting.,.. Thanks in advance.

            S Offline
            S Offline
            ShilpiP
            wrote on last edited by
            #5

            Same question different user ID :) but the answer is same use "EM_EXLIMITTEXT"

            Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

            1 Reply Last reply
            0
            • M Mahesh_Pawar

              Hi Experts, I m using CRichEditCtrl for my application. in which I paste the clipboard data into the control using paste method. but there is limitation of Data displayed and copied.. for example > If I copy a file data of size about 65KB then it works fine.. but when I copy full file ( more than 65 KB about 120 KB size) then it takes only 65 KB and remaining data is neglected..... so plz Help me I want to increase my Rich edit's capacity or suggest any other control that have more ability. ur reply matters me.... I m waiting.,.. Thanks in advance.

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Rule #1 - You must wait longer than 1 hour before posting same question again.

              Mahesh_Pawar wrote:

              ...then it takes only 65 KB and remaining data is neglected.....

              Are you sure you are not using a regular edit control? It maxes out at 64KB on Win9x machines. Otherwise, if you have sent the control a EM_EXLIMITTEXT message with lParam as 0, the control will default to 64KB.

              "Love people and use things, not love things and use people." - Unknown

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              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