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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Strange problem with CRichEditCtrl

Strange problem with CRichEditCtrl

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
1 Posts 1 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.
  • M Offline
    M Offline
    Manfred Staiger
    wrote on last edited by
    #1

    I have a SDI application with the view class derived from CRichEditView. The following code behaves different on one of of our machines: long posError=0; FINDTEXTEX text; text.lpstrText="Error ("; text.chrg.cpMin=0; text.chrg.cpMax=-1; posError=GetView()->GetRichEditCtrl().FindText(FR_MATCHCASE|FR_WHOLEWORD, &text); if(posError!=-1) { DoSomething... } On most machines it works fine and finds the lines containing "Error(" but on one machine it only works when I don't use the FR_WHOLEWORD flag in the FindText function. I never came across this problem ever before and can't imagine any reason for that. I'm "at the end with my latin" as we say in german. Does anybody have an idea ??? MS

    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