How about using TimGetTicks() at each of those events ?Right,... like set a global variable (UInt32 gPendownTick) when the PenDownEvent is detected, and then do the math when the PenUpEvent happens: elapsedTime = TimGetTicks()-gPenDownTick.
Bob.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
