Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Craazer

Selecting string from Richedit makes it flash

This topic is 5572 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I made a code wich sets the selection to string in richedit using EM_SETSEL (the reason ir needs to be select is that other richedit functions modifies selected areas) message every time the edit control gets modified . But unfortunetly that makes the current line wich is bein edited flash! So is the any tips to code around it? [edited by - Craazer on June 19, 2003 5:22:11 PM]

Share this post


Link to post
Share on other sites
Advertisement
I think you can solve this by sending an EM_HIDESELECTION before you do the selection..

Share this post


Link to post
Share on other sites
If that doesn''t work, I think it''s possible to disable the richedit control before making changes and then enable it again.

Share this post


Link to post
Share on other sites
quote:
Original post by angry
If that doesn''t work, I think it''s possible to disable the richedit control before making changes and then enable it again.



Thanks for the tips angry! Have to try them out...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!