Warren wrote:
> The problem I'm having is, the pen coordinates returned by EvtGetPen
> don't seem to translate to screen coordinates.

Are you thinking in double-density coordinates?  EvtGetPen() only
does "standard" density coordinates.  So, it goes from (0,0) up
to (159,159) even on a device that is 320x320.  On a 320x480 device,
it goes up to 239.

I use it all the time for my own custom buttons and button-like things.
It seems to work just great.

You are declaring penx and peny as Int16 and checking the pendown flag
from the last call to make sure they're valid, right?

  - Logan

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

Reply via email to