> From: jacky Cheung
>
> So what are we suppose to put in the frmUpdateEvent? If everything work
> fine without it, how do we know what to put in the handler
> (except handle = true)?
>
I'm sure this question has come up before, so it's probably in the archives.
However, I recall that the purpose of the frmUpdateEvent is to notify your
app that it should draw anything it has on the background of your form. For
example, if you drew a bitmap directly on the display window, you would have
to redraw it when you get a frmUpdateEvent. As previously mentioned, some
of the debug ROMS generate this event every time, so you can ensure that
your program successfully handles it. On a non-debug ROM or an actual Palm
OS device, I think the only time you will get this event is when something
has popped up on top of your form and the OS couldn't find enough free
memory to save the background for you. If there are other situations that
trigger this event, hopefully someone who knows can add to this information.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/