Hi all,

I'm trying to place animations of my own on a page with system controls. Not
controls actually, just the system drawn menus. I want my animations to be
double buffered. I can't seem to get a smooth animation at all. Has anyone
managed this? The best results that I have got so far is achieved by drawing
the animation after calling FrmDrawForm in response to a frmUpdateEvent
event, and then calling FrmUpdateForm every time the frame of the animation
changes. This is still a little flickery though and I have to pause the
animation when the menus are down otherwise they disappear when the
animation changes it's frame. 

Rather than experiment I thought that I'd ask to see if anyone else has got
this to work. I can live with pausing the animation when the menus are down,
but I'd like to double buffer the animation so that it's not so flickery.
However, it seems that FrmDrawForm does not draw to the window specified by
WinSetDrawWindow but always draws directly to the display. 

I suppose that I could double buffer the part of the screen that I am
animating, and leave the upper part to be drawn by the system, but this
seems a bit crap IMHO. 

Any suggestions?
        Idries

 <<...>> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to