In one of my FormInit functions (called from the form event handler on the open
event), I load some data into a handle, and then set the handle to be one of the
fields handles (loading the text into the field). I call FrmDrawField after
switching the field handles, since I'm using a global utility function to handle
the switching, and in some cases I might need the form redrawn.
On the FrmDrawField call, I get the following error when using a debug rom:
This access usually indicates that the application is calling a Window manager
function without first establishing a valid DrawWindow.
I'm not quite sure what I'm doing wrong, since I'm not calling the Window
manager, though FrmDrawField does. Isn't a Window created when FrmGotoForm was
called?
Steve Cochran
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/