Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 03/03/2005 @ 20:50 par aldweb
visiteur |
Hello Lugato,
Not all Palm OS APIs support the high resolution mode. In other words, it is a real pain to work with High Res. I only know to do it by the "try and adjust" process!
In the case of the PENX and PENY functions, "try" tells us that the return value is between 0 and 159.
This is no big deal as pen precision is superior to 1 pixel (because the pen diameter which touches the screen is wider than one pixel on the touchscreen).
So, in your case "adjust" could be: X=2*PENX Y=2*PENY
Cheers,
@+ aldweb |