> Does the penDowEvent always report the coordinates for the 160x160 screen?
> 
> I have set the screen to 320x320 and when I look at the coordinates from
> the penDownEvent it returns the 160x160 coordinates.
> 
> setting to the 320x320 I am using:
> iWidth = 320;
> iHeight = 320;
> WinScreenMode(winScreenModeSet, &iWidth, &iHeight, &iDepth, &bColor);
> WinSetCoordinateSystem (kCoordinatesNative);

penDownEvent is always in 160x160 mode. if you want to get raw co-ordinates
you need to use EvtGetPenNative(). for translating the penDownEvent stuff,
you need to pixel double the values yourself.

---
Aaron Ardiri                        [EMAIL PROTECTED]
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


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

Reply via email to