Hi all,
I got a little problem while tryng to detect the position of the pen in High
Res mode.
I use the following to switch in High Res (it works well, I got pretty
picture)
/***********************************************************************/
  {
     UInt32 version;
   FtrGet(sysFtrCreator,sysFtrNumWinVersion, &version);
   if (version>=4) WinSetCoordinateSystem(0) ;
  }
/***********************************************************************/

And I une the following listening to pen events.

case penDownEvent :
 {
      char buf[10];
       StrIToA(buf,eventP->screenX);
       WinDrawChars(buf,StrLen(buf),0,160);
       StrIToA(buf,eventP->screenY);
       WinDrawChars(buf,StrLen(buf),0,200);
    }

And there I just got (0,160) values...never 250 ;( And of course I need to
have values in the range (0,320).
Do someone got an idea?
Thanks
Gilles


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

Reply via email to