Skip to main content
gamedev.net
🔒 Locked

Screen flickering

Started by DrainedBrain 0 replies 750+ views
Original Post
DrainedBrain
DrainedBrain
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 ??

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.