On 2006-06-01, Michal Seliga <[EMAIL PROTECTED]> wrote: > i just noticed that its not only my problem, all builtin application suffer > the > same thing... > > Michal Seliga wrote: >> i have this problem >> >> when i put simulator to landscape mode and hide graffiti area then my >> application received pendown event on coordinates of this button which hides >> graffiti and in SysHandleEvent which follows i get fatal alert saying >> 'PalmOSForm.c, Line 1032, Form must be full width' >> >> after i click 'ignore' in error window, only then i will get to following >> events >> which allow me to resize form. so as result i get error and just after i >> press >> 'ignore' form get resized >> >> same code works correctly on release version of t|x simulator and also on all >> dia enabled devices, but for bughunting i would like to run gremlins on debug >> version. and this will stop them after very short time >> >> i check form and screen bounds on frmLoadEvent, frmOpenEvent and >> winResizeEvent >> (last one i sent when i get notification) >> >> any idea what can be wrong?
Nothing is wrong. Only the built-in checks in PalmOSForm.c in the debug TX sim (and all other debug OS5 sims) are a bit too aggressive when you minimize the DIA in landscape mode. The only way out would be to resize all your forms as soon as you receive the notification, but that goes against PalmSource own sample code. To run Gremlins, you would need an other program watching the popups and automatically pressing Ignore when you get the "Form must be full width" error message. Does such a thing exist? Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
