CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2012

    Hide highlighting from SetSel


    I'm using SetSel in my RichEditCtrl window to replace certain lines of text. The problem is its not aesthetically pleasing when the window highlights the word for a split second and then replaces the text because it seems to flash the screen in a seizure like manner.

    How do I hide the highlightings from SetSel?

  2. #2
    Join Date
    Mar 2012

    Re: Hide highlighting from SetSel

    I solved the issue:

    In the on create

    then activate the message handler

    void CCtrl::OnEnUpdate()

    and then finally set the option to

    but now I have to manually update by calling

    Which is fine..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.