The silkscreen buttons and the hard buttons are passed as keyDownEvents.
You can find the definitions in Chars.h.  When your application gets a
keyDownEvent, return true for any of the "keys" that you want to handle.
This will prevent the system from handling those keys.

Regards,

Steve

-----Original Message-----
From: Marcio [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 07, 2000 6:32 PM
To: Palm Developer Forum
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/

Reply via email to