Robert Moynihan wrote:
Christian Giordano wrote:
I'm trying to animate an image, so I'm drawing it every nilEvent with
a different position. What I get though, is a very annoying flickering
regardless the timeout of the EvtGetEvent (tried with short time).
Mukesh mentioned locking the window, here's another way: Create an
offscreen window, draw everything onto that window, then copy over the
entire image to the screen when you are done. This will eliminate your
flickering entirely.
Thanks a lot guys, it seems I have to learn how to manage an offscreen
window :) I still have to find out how to draw the image with dynamic
opacity.
Thanks a lot, chr
--
___________________________________________________________________
{ Christian Giordano's site and blog @ http://nuthinking.com }
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/