It's because FrmHandleEvent calls FrmEraseForm in its handling of frmCloseEvent.
FrmEraseForm calls the relevent redraw function (the one that reports the
problem).

-- Keith






Greg Lutz <[EMAIL PROTECTED]> on 01/26/2000 09:28:40 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Greg Lutz <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/HQ/3Com)
Subject:  Another Debug-ROM catch




I have an application which, when run on the emulator (recent
vintage) with an OS 3.5 debug ROM (ColorDbg.rom, for instance),
reliably generates the following error message:

Form.c, Line:649, Windows cannot be under forms because they
can't be redrawn.

I had been assuming that this was due to the debug ROM forcing
form update events instead of simply restoring saved pieces of
bitmap, to test applications' handling of those events.  But it
turns out that a frmCloseEvent, not a frmUpdateEvent, is being
handled when this message pops up.

Can I get some advice on debugging it?

Thanks,
Greg Lutz


--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to