Excellent. I think this is what I need. Thank you, sir. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:bounce-410256- > [EMAIL PROTECTED] On Behalf Of Ben Combee > Sent: Monday, February 28, 2005 10:33 PM > To: Palm Developer Forum > Subject: RE: EvtGetPen and Coordinate Systems > > At 09:58 PM 2/28/2005, you wrote: > >Well, the way I understand it, the hardware that reads the pen taps > >maintains a coordinate system that is separate from the display > coordinates > >- that is the coordinates of the entire display. For example, if I tap > the > >pen at the bottom center of my form, I get pen coordinates that are at > (26, > >-41). The same area in display coordinates would be roughly (80, 150). > > From the Palm OS documentation: > > "EvtGetPen returns a pen sample using the standard coordinate system, > relative to the draw window". > > Usually, the draw window is the whole screen, but it can be redefined by > set-draw window. You can use WinGetDrawWindowBounds to get the origin > coordinates of the drawing window. > > -- Ben Combee, Senior Software Engineer, palmOne, Inc. > "Combee on Palm OS" weblog: http://palmos.combee.net/ > Developer Forum Archives: http://news.palmos.com/read/all_forums/ > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
