You'd have to write your own code to do this, but the OS provides the basic
support needed. I'd use a gadget as a starting point. You can record the
signature either as a sequence of points to be connected by lines, or as a
bitmap. They each have their advantage. EvtGetPen is an API you can use to
track the pen while it's being dragged around. WinDrawLine will let you draw
a line between the last point and the new point, either directly on the
screen, or onto an offscreen window. You probably also want to use
WinSetClip to avoid drawing outside the gadget bounds, and WinGetClip to
capture the old clip rect so you can restore it. I'd read up a bit on these
APIs, and start experimenting.
-
Peter Epstein

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

Reply via email to