|
Hi, this is the first time I’ve written to the list,
but I have something I can’t figure out how to resolve. Basically, I have a form that paints an image into the
entire client area. The image is updated continually, so I I’m calling
pictureForm.Refresh() a lot. I’ve tried two different methods. In one, I override
the Paint method and draw the bitmap using DrawImage(). This lets me scale the
image to the window size. It’s with this method I get the flickering. The second method I’ve tried is to use the
BackgroundImage property of a Form. This doesn’t let me resize the image
to fit the window, but there is no flicker when I refresh. Can anyone tell me what’s going on? How does
BackgroundImage work that it can paint with no flicker. How can I get my Paint
function to draw the image flicker-free? Thanks for any help you might offer, Ben Watson
Yahoo! Groups Links
|
