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. Reverse Search in CRichEditCtrl class

Reverse Search in CRichEditCtrl class

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
3 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.
  • R Offline
    R Offline
    Rakesh5
    wrote on last edited by
    #1

    Hello All, My programmer is saying me that reverse search (meaning which up and down search in our application,which is developed in VC++) is not possible if we use CRichEditCtrl class.. Is he right?? I feel it should be possible, though am not VC++ expert... I agree to the fact that i know very little in VC++. Please guide us whether it is possible or not. If possible,can someone post a sample code? Thanks, Rakesh

    C L 2 Replies Last reply
    0
    • R Rakesh5

      Hello All, My programmer is saying me that reverse search (meaning which up and down search in our application,which is developed in VC++) is not possible if we use CRichEditCtrl class.. Is he right?? I feel it should be possible, though am not VC++ expert... I agree to the fact that i know very little in VC++. Please guide us whether it is possible or not. If possible,can someone post a sample code? Thanks, Rakesh

      C Offline
      C Offline
      Cool_Dev
      wrote on last edited by
      #2

      I think its easily possible since there is FindText fucntion on CRichEditCtrl. Searching can be implemented in any direction using the CHARRANGE members of FINDTEXTEX Structure logically. But get conveyed from the programmer why he says so.

      1 Reply Last reply
      0
      • R Rakesh5

        Hello All, My programmer is saying me that reverse search (meaning which up and down search in our application,which is developed in VC++) is not possible if we use CRichEditCtrl class.. Is he right?? I feel it should be possible, though am not VC++ expert... I agree to the fact that i know very little in VC++. Please guide us whether it is possible or not. If possible,can someone post a sample code? Thanks, Rakesh

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I don't think the use of CRichEditCtrl would have any bearing on it, but you would need to give more detail about the application and why the programmer believes it is not possible. [edit]According to the MSDN documentation[^] you can set options in the Findtext() function to search forwards or backwards.[/edit]

        I must get a clever new signature for 2011.

        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