> This won't work on current versions of Palm OS. > > Right now, when the user taps on a button, the system first sends a > ctlEnterEvent. If this isn't handled, it goes into a tight loop, waiting > for the user to lift the pen from the screen. When the user does this, it > will either post a ctlSelectEvent or a ctlExitEvent, depending on the > location of the pen before it was lifted. However, your code isn't running > while this pen tracking loop is active. > > You'll basically need to implement your own button code to do what you > want. You can intercept ctlEnterEvent yourself and then track > penMoveEvents, but emulating the system's highlighting of the control will > be tricky. You might just want to make your own gadget and use it instead > of a system button. > > -- Ben Combee, DTS technical lead, PalmSource, Inc. > Read "Combee on Palm OS" at http://palmos.combee.net/
Sounds like hard work... I have come around, but in my head I know I will run into the use og this again someday... Are gadgets easy to work with (for a PalmOS �-newbie like me) or is it a strugle? Are there any good tutorials/books out there to go by? /morten -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
