Screen Flicker - Line app Recreating lines as mouse moves

kevinheeney

Member
Joined
Jun 24, 2003
Messages
20
I am creating a program where the user can draw lines, edit them select them, delete whatever. I have one problem. I have when the user (after selecting a line) goes to move it. I have to clear the picturebox and then redraw all of the other lines. However I get a serious choppiness slash flicker.

I think it is because it has not finished redrawing all of the lines before it starts again. What can I do?
 
Use SetStyle in youre form load to enable Double-Buffering and AllPaintingInWmPaint then the flickering should stop
 
Back
Top