> that trapping frmCloseEvent and not letting the OS handle it, causes a
> memory leak.
>
> Is anyone familiar with this?
Yes. Do your own clean-up, then return false to allow the OS to perform its
cleanup. The SDK says: "If an application doesn't intercept this event, the
routine FrmHandleEvent erases the specified form and releases any memory
allocated for it." The implication is that if you handle this event and
return true, the form is not erased and its memory is not deallocated.
Jeff
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/