Double buffering on the Paint Event

S

Simon Jefferies

Hello,

How can i perform double buffering on the Paint Event of a panel control.

TIA
Simon
 
K

Ken Tucker [MVP]

Hi,

Create a bitmap the same size as the panel. Draw on a bitmap. Draw
the bitmap on the panel.

Ken
 
H

Herfried K. Wagner [MVP]

* "Simon Jefferies said:
How can i perform double buffering on the Paint Event of a panel control.

Create a bitmap and draw into it, then you paint the bitmap to the panel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top