On 1/21/06, solsan <[EMAIL PROTECTED]> wrote:
> I have a problem locking all the buttons in my handheld unit when I call
> alert form or TimSecondsToDateTime function.  I can lock all buttons for all
> the forms, but the build in form from the palmOS.  My goal is to lock all
> buttons in all screens or forms.  Below the snippet code for locking the
> buttons in AppEventLoop subprocedure:

http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/KeyManager.html

KeySetMask Function
Purpose
Specify which keys generate keyDownEvents.

you can look at the SDK examples - specifically the Reptoids example written
by Roger Flores. all games want to ignore these keys as well while they are
running. you can call KeySetMask() to disable the key events for
certain buttons;
and, then - the key event will never make it to the system as it isn't
generated :)

--
// Aaron Ardiri

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

Reply via email to