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. Appending 2 RTF Strings together

Appending 2 RTF Strings together

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmintestingbeta-testinghelpquestion
3 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.
  • Z Offline
    Z Offline
    Zero_divide_1
    wrote on last edited by
    #1

    Hello all! I'm trying to make a instant messaging app for my home network, and I am using RTF controls for text input and conversation display. I am currently having a problem, though, appending (for testing and later implementation) the string I enter in the text input RTF control to the conversation RTF control preserving all the RTF formatting information. Any ideas on how I would go about doing this? Sean Payne

    J 1 Reply Last reply
    0
    • Z Zero_divide_1

      Hello all! I'm trying to make a instant messaging app for my home network, and I am using RTF controls for text input and conversation display. I am currently having a problem, though, appending (for testing and later implementation) the string I enter in the text input RTF control to the conversation RTF control preserving all the RTF formatting information. Any ideas on how I would go about doing this? Sean Payne

      J Offline
      J Offline
      JWood
      wrote on last edited by
      #2

      What derived view are you using? CBL


      My neighbours think I am crazy - but they don't know that I have a trampoline. All they see my head bobbing up and down over the fence every five seconds

      Z 1 Reply Last reply
      0
      • J JWood

        What derived view are you using? CBL


        My neighbours think I am crazy - but they don't know that I have a trampoline. All they see my head bobbing up and down over the fence every five seconds

        Z Offline
        Z Offline
        Zero_divide_1
        wrote on last edited by
        #3

        Actually, I'm not using a view. The conversation dialog has two CRichEditCtrl controls (I've extended the class for easier RTF information extraction to CString using a function called "CString GetText(bool bGetRTF)" (the bool parameter tells me to get plaintext or RTF formatted info)). So basically, I used Visual C++'s dialog editor and added two Rich Edit controls to the dialog. That's basically my setup. Thanx! Sean Payne

        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