Jump to content
  • Advertisement
Sign in to follow this  
DrainedBrain

Screen flickering

This topic is 4727 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

im making an mfc application that has a drawing function .. when the user draws a line, after he press on the lmouse button once, InvalidateRect(&ClientRect); is called in the OnMouseMove() function , to draw the temporary line from the first click's coords till the mouse position ... untill he press the lmouse button again , the line starting and ending coords are saved . the problem is that while the user is hovering around the screen - between the first and second mouse clicks - the screen keeps flickering! does anyone know why that happens ??

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!