Double buffer problem

  • Thread starter Thread starter Alien
  • Start date Start date
What "function" do you mean? Double buffering is a technique, not a
function.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
I mean how can i draw something in sdfV1.4 using the double buffering
technique?

can u provide some sample code for me?

Thank you very much
 
You create an offscreen bitmap and do all drawing to it. Override OnPaint,
and in it blit the off-screen bitmap to the Form/Control. There are a few
controls in the SDF that do this (like the RoundGauge).

-Chris
 
I have seen these controls scource code. but i found most of them using
bitmap class. what i want is can i use bitmapex instead of bitmap..

i have tried that.. but i failed to create a graphicex class from the
bitmapex class. can u help me on that?

cheers
thank you
 
Back
Top