Maks and Ben,
Thanks for your help. I found that the problem was my mistake (of course!). Amazing what a little sleep and a few days away from the bit-banging will for your your sanity!
At least, I'd like confirmation from an expert before saying the problem is fixed. Turns out that the only *other* thing I did in the code was add an OnClose handler to the form.
I did not explicitly set bHandled to false in this method. I assumed it was false by default. I set a break point in the OnClose handler and examined bHandled and it is in fact not false. Hmm...
If you don't clear the handler for that, the frmClose event won't get passed to the OS, and the OS won't have the chance to release the memory occupied by the form's data structures.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
