In your event loop, throw away the keyboard events. Like this:
static void EventLoop (void)
{
UInt16 error;
EventType event;
do {
EvtGetEvent (&event, evtWaitForever);
if (event.eType == keyDownEvent) {
if (event.data.keyDown.modifiers & commandKeyMask) {
switch (event.data.keyDown.chr)
{
case vchrKeyboardAlpha:
case vchrKeyboardNumeric:
case vchrKeyboard:
{
continue; //prevents event from being seen by
handlers
}
break;
//And any other cases you want...
}
if (! SysHandleEvent (&event))
if (! MenuHandleEvent (CurrentMenu, &event, &error))
if (! ApplicationHandleEvent (&event))
FrmDispatchEvent (&event);
}
} while (event.eType != appStopEvent);
}
"cpssband cpssband" <[EMAIL PROTECTED]> wrote in message
news:85748@palm-dev-forum...
>
> Hi, i am using Handspring Visor Prism PDA ..
> i want to disable the keyboard from coming out when
> user tap the 123 or abc on the PDA ...
> is there anyway i can code it in Code Warrior ...?
> thanks
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/