You need to short-stop the button events before you pass them to the OS
handler. In your main app event loop, check for button events before you
pass the event to SysHandleEvent.
-----Original Message-----
From: Marcio <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, June 07, 2000 6:31 PM
Subject: Blocking system icons and buttons
Hi all,
I have a communications application, that can�t be interrupted by the user.
So, I need to block the system buttons and icons of the palm.
I've seen in the documentation that a keyDownEvent should be triggered when
any of them is pressed, so I could verify the eventPtr->data.chr information
to know what key was pressed.
But, I saw in the debugger that the event is not triggered!!! If I press the
Applications icon with a break point in the keyDown event, for example, it
doesn't stop, and goes to Applications!!!
Is the documentation wrong? What's the mistake?
Thanks a lot,
Marcio
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/