Ritu,
>Can any body please tell me how to trap CtlExit event in all the cases.
Try reading the docs on the events. You're making an incorrect assumption about
when to expect an exit event. The first few sentences in the description of
ctlExitEvent are:
"The control routine CtlHandleEvent sends this event. When CtlHandleEvent
receives a ctlEnterEvent, it tracks the pen until the pen is lifted from the
display. If the pen is lifted within the bounds of a control, a ctlSelectEvent
is added to the event queue; if not, a ctlExitEvent is added to the event
queue..."
In other words, what you are seeing is the documented behavior. A control exit
event means the user opted to exit the control outside its bounds.
Doug
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/