>I have tracked event notification in the simulator. > >The normal sequence observed in a user tap is penDownEvent, ctlEnterEvent, >ctlSelectEvent. > >When I enqueue a penDownEvent, I observe the following: penDownEvent, >ctlEnterEvent, ctlExitEvent. There is no ctlSelectEvent (which is supposed >to be system generated). > >Since I don't ovserve a penUpEvent in a user tap, I have quit generating >that. Makes no difference to the outcome. > >Still puzzled.
As someone mentioned at the beginning of this thread, it could very well be that CtlHandleEvent() tracks the pen directly instead of waiting for a penUpEvent. If this is the case, then your only possible option is to send a ctlSelectEvent. Why don't you want to? If it is because you don't have information about the button, then when you receive the alarm, enumerate throught all the buttons in the form, testing the bounds, then you have the control id of the button! (Email me if you want me to eleborate). HTH, Michoel Chaikin [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
