At 05:45 PM 10/11/2004, you wrote:
Hi:

I've been trying to show a form using FrmPopupForm, but everytime I
use this function I get the next error:

(APP) Just read from memory location 0x8000D00020. This access usually
indicates that the application is calling a Window Manager function
without first establishing a valid DrawWindow.

In the event handler of the form I'm trying to show I'm trying to
handle eventLoad and eventOpen events, but none of the above reach the
breakpoint.

This usually means that you've tried to change a control or do something else that will cause you to draw to the screen before you've called FrmDrawForm for a form. You're also using a debug ROM image with POSE or a debug version of the Simulator.


All FrmPopupForm does is post events to the queue. The new form doesn't popup until after it's been back through the queue to handle the form load and form open events.


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to