> From: petrelis [mailto:[EMAIL PROTECTED]]
> I need to intercept ctlExitEvent when the user unselects a
> popup trigger.
> But the problem is ctlExitEvent is not referenced in the
> union "data" of the EventType struct ( see Event.H ).
That's because the ctlExit event doesn't have any custom data of its own,
aside from the penDown, screenX, and screenY fields that are already in the
generic event structure. Those fields do get filled in when CtlHandleEvent
enqueues the event.
Notably, there _isn't_ a controlID or pControl field in the ctlExit event to
tell you which control just got exited. If you need that information in
your ctlExit handler, then you probably need to cache the ID/ptr from the
most recent ctlEnter event.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/