Sign in to follow this  
DrainedBrain

Screen flickering

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this