I hope this code will help you:

do {

    EvtGetEvent(&event, 100);


if (event.data.keyDown.chr != 264 && event.data.keyDown.chr != 266)  are
  {

     if (! SysHandleEvent(&event))
      if (! MenuHandleEvent(0, &event, &error))

      if (! AppHandleEvent(&event))

       FrmDispatchEvent(&event);
     }

 } while (event.eType != appStopEvent);


Federico Vaggi
Irion S.A.
Av. Cordoba 795 - 1Piso Of. 2
(1054) Cap.Fed. - Bs.As.
T/4315-5556 int. 118
F/ 4315-8260
----- Mensaje original -----
De: "Charlie Grant" <[EMAIL PROTECTED]>
Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
Enviado: Thursday, October 26, 2000 3:44 AM
Asunto: How can I disable the Home and Calculator buttons?


> I am developing an application on a Symbol SPT1700 using Palm OS 3.2.
>
> Is it possible to disable the Home and Calculator keys whilst my
application
> is running?
>
>
> --
> 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