Hi Erico,

you should set your desired coord system just before doing your own drawing. Make a Push/PopDrawState call around. That's the way, which works. If you write, that this doesn't work for your bitmap, then I guess, the error is on a different place. Maybe you don't have a V3 bitmap?

Regards
Henk

Erico Franco wrote:
Erico Franco wrote:


    PalmOSForm.c, Line:564, unexpected coordinate system

when:

 - I switch from 320x320 to 320x480 (collapse screen)
 - and also when I try to draw some forms FrmDrawForm(frmP);


Hi,

Thanks Ben and Henk for the help, the FrmDrawForm issue is solved by returning to the Standard coordinate system.

But "unexpected coordinate system" still occurs if I try to collapse the screen to 320x480 or 320x320.

If I press the debug, CW points to my AppEventLoop() function, precisely over the

if (!SysHandleEvent(&event))

line inside my AppEventLoop() function.

Now is very confusing to me when I need to set to native or standard coordinates to make it working for collapse thing:

If I set to native just before drawing a bitmap it do not take effect and draw wrong coordinates and in other hand if I set to standard before appEventLoop() it also ignore the command and the subject error occurs.

any idea to solve this?

thanks.

Erico Franco



--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------

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

Reply via email to