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. Multicolor CEdit ??

Multicolor CEdit ??

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 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.
  • P Offline
    P Offline
    pma
    wrote on last edited by
    #1

    is it possible to have multible colors for one string in a CEdit box

    M 1 Reply Last reply
    0
    • P pma

      is it possible to have multible colors for one string in a CEdit box

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      no, you need to use a CRichEditCtrl.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      D 1 Reply Last reply
      0
      • M Maximilien

        no, you need to use a CRichEditCtrl.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        D Offline
        D Offline
        David Salter
        wrote on last edited by
        #3

        Or you could do it with an Owner Drawn Edit Control.


        store your internet favourites online - www.my-faves.co.uk

        M 1 Reply Last reply
        0
        • D David Salter

          Or you could do it with an Owner Drawn Edit Control.


          store your internet favourites online - www.my-faves.co.uk

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          is it that easy to do ? me think you need to handle more than the OnPaint ?!


          Maximilien Lincourt Your Head A Splode - Strong Bad

          D 1 Reply Last reply
          0
          • M Maximilien

            is it that easy to do ? me think you need to handle more than the OnPaint ?!


            Maximilien Lincourt Your Head A Splode - Strong Bad

            D Offline
            D Offline
            David Salter
            wrote on last edited by
            #5

            You need to handle a little more than OnPaint, but not much. Have a look at http://www.codeproject.com/editctrl/ theres plenty of examples there of what you can do.


            store your internet favourites online - www.my-faves.co.uk

            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