Hi,
Within your keyDownEvent handle check the return value of
ChrIsHardKey(event.data.keyDown.chr)
ChrIsHardKey returns true if the character is one of the hard keys on the
device. If the return value is true, do nothing in the Event Handler and
return true.
You can get more info from the site
http://oasis.palm.com/dev/kb/papers/1148.cfm or from this group's archives
Thanks,
Manikumar K
Developers' Nation DTS Engineer
www.devnation.net
Developers' Nation is the fastest, most reliable and affordable way to
resolve your technical issues.
"Vijay Raghavan" <[EMAIL PROTECTED]> wrote in message
news:51302@palm-dev-forum...
>
> Hello Everyone!
>
> I have a security sort of application where the current form gives access
to the device.
> The hard and soft buttons on the device should not respond till the form
quits. I tried making the form Modal , but it still accepts taps and hard
button presses. Also I tried handling them in the keyDown event in the form
event handler to no avail. Am I missing anything?
> How do I disable them?
> Thanks a ton in advance
> vijay
>
>
>
>
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/