Double buffering on the Paint Event

  • Thread starter Thread starter Simon Jefferies
  • Start date Start date
S

Simon Jefferies

Hello,

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

TIA
Simon
 
Hi,

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

Ken
 
* "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.
 
Back
Top