>how can i detect that
>  the user has pressed the [menu] button - hence i stop
>  my animation until they have finished with the menu?


This comes up every few months.  This is a specific case of drawing to a
window which is obscured.  You want to draw only when the window you're
drawing to is on top.

Code to easier check this is available in Reptoids.  It's also been pasted
to this group.

Can someone either paste the code one more time or look through
www.egroup.com for prior messages?

All apps which periodically update the screen should have code like this,
or else there will be cases, now or in the future, where screen draws
happen to the wrong window onscreen.


-Roger Flores



Reply via email to