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.
 

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

Back
Top