Hello,
I have an application in which I
draw on a PictureBox, but it flickers
something awful. I know that I
need to implement Double Buffering,
but I don't really know how to do
that. Does anyone have any pointers?
Thanks,
Erik
Printable View
Hello,
I have an application in which I
draw on a PictureBox, but it flickers
something awful. I know that I
need to implement Double Buffering,
but I don't really know how to do
that. Does anyone have any pointers?
Thanks,
Erik
It involves something like drawing first on a picture box which is hidden. Then pasting the entire contents of the hidden picture box onto the one that the user sees. Perhaps you could get someone to direct you to a site that teaches BitBlt. This is an api which allows quick copying of graphics from a source to destination and will improve your framerate.