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. Other Discussions
  3. Article Writing
  4. Removing cursor from Richedit control

Removing cursor from Richedit control

Scheduled Pinned Locked Moved Article Writing
graphicsquestion
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.
  • N Offline
    N Offline
    Newbie
    wrote on last edited by
    #1

    I would like to have a Window in one of my dialogs that just displays text. I do not want the user to modify it. However, I would like to have the freedom of formatting the text (e.g. bold, italic etc...) and using different fonts. I thought the easiest way of doing this was to use a RichEdit control set to ReadOnly. This works OK, but it still has a cursor flashing in the rich edit box when the user gives it focus. I have seen that other applications can display text /graphics in this way, but without the cursor flashing (e.g. MSDN Library). Does anyone know how this can be done?

    R 1 Reply Last reply
    0
    • N Newbie

      I would like to have a Window in one of my dialogs that just displays text. I do not want the user to modify it. However, I would like to have the freedom of formatting the text (e.g. bold, italic etc...) and using different fonts. I thought the easiest way of doing this was to use a RichEdit control set to ReadOnly. This works OK, but it still has a cursor flashing in the rich edit box when the user gives it focus. I have seen that other applications can display text /graphics in this way, but without the cursor flashing (e.g. MSDN Library). Does anyone know how this can be done?

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      See http://codeproject.com/winhelp/myhelpdialog.asp. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

      N 1 Reply Last reply
      0
      • R Ravi Bhavnani

        See http://codeproject.com/winhelp/myhelpdialog.asp. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

        N Offline
        N Offline
        Newbie
        wrote on last edited by
        #3

        This sample code is very nice - but it still does not supress the cursor. Any ideas?

        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