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. Highlighting some text in CEdit

Highlighting some text in CEdit

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiohelptutorialquestion
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.
  • H Offline
    H Offline
    Hadi Dayvary
    wrote on last edited by
    #1

    Hi What is the best way to create an edit box (derived from CEdit) that can draw a red line under wrong words for example. and then user can right click on it and correct it from a sugested menu list. (Like what visual assist does in Visual Studio) Doing it insdie OnPaint() is not easy because we must take care of single or multi line, and maybe some other thing. An example or project will help a lot. Regards Hadi

    www.logicsims.ir

    _ 1 Reply Last reply
    0
    • H Hadi Dayvary

      Hi What is the best way to create an edit box (derived from CEdit) that can draw a red line under wrong words for example. and then user can right click on it and correct it from a sugested menu list. (Like what visual assist does in Visual Studio) Doing it insdie OnPaint() is not easy because we must take care of single or multi line, and maybe some other thing. An example or project will help a lot. Regards Hadi

      www.logicsims.ir

      _ Offline
      _ Offline
      _Flaviu
      wrote on last edited by
      #2

      Have you think to use CRichEditCtrl instead of CEdit ?

      H 1 Reply Last reply
      0
      • _ _Flaviu

        Have you think to use CRichEditCtrl instead of CEdit ?

        H Offline
        H Offline
        Hadi Dayvary
        wrote on last edited by
        #3

        Hi Thanks It seems everything will be more dificult with CRichEdit I found this project: Spell Checking Edit Control (Using HunSpell)[^]

        www.logicsims.ir

        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