> Is it possible to disable, on the fly, button and Pen events 
> ? (i.e. disable
> interrupts...)

Well, you probably don't want to do that (disable interrupts).  It sounds
like what you really want to do, is process penDownEvent/penMoveEvent or
perhaps ctlEnterEvent so the default system handler doesn't process them.

I have an app which displays checkboxes in a read-only mode.  All I do is
look for ctlEnterEvent messages in my formHandleEvent code, and if the
eventP->data.ctlEnter.controlID == MY_CHECKBOX_TO_IGNORE, then I return
handled = true and the system goes on its merry way.

This approach may work for your application as well.  Additionally--and
depending on your app requirements--you could add this type of logic to your
app handle event as well.

Cheers,

-DGA




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

Reply via email to