At 04:41 AM 5/21/2004, you wrote:
Slider movements on penMove and penUp I am trapping in
<formname>FormHandleEvent(). While documents and help files say that all
gadget related events can be trapped in the gadget event handler. But gadget
event handler does not traps penMove and penUp events.

My question is that penMove and penUp is to be trapped in
MainFormHandleEvent() or there is any way to trap these in gadget callback
routine.

The method generally used is to trap the initial penDown event in the gadget -- then, you enter a loop using EvtGetPen to track the pen until the pen is lifted from the screen, without returning to the main event loop.


-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to