>I took your advice and tried monitoring the PenUp event, and getting the
>GrfGetState, but doesn't seem to work, though it is exactly what I am
>looking to do. Do PenUps on Graffiti signal a pen up stroke...?

Yes, you'll get a penUpEvent, though you won't get it passed to your form's
event handler since the system handles it in SysHandleEvent, I'm pretty
sure.  But your main event loop can look for a penUpEvent, call GrfGetState
to remember the state, and then after calling SysHandleEvent call
GrfGetState again to see if it changed.

You probably also want to have this code in your main event loop only run
if you're on the appropriate form, assuming your app has more than one
form.  Call FrmGetActiveFormID to double-check that you're on the form you
want to be on.

-David Fedor
Palm, Inc.

-- 
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