I have tried that but I got an error when I tried to clear the variable or when I closed the app. I will try it again.
Thanks, Donald "Robert Moynihan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Vu Pham wrote: > > >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/
