You could catch it in your event loop register the notifications and just return false 
as handled....

Example:

call this function in your event loop before sysapphandleevent
static Boolean
HandleKeyEvent ( EventPtr event )
{
        Boolean handled = false;

        switch ( event->data.keyDown.chr )
        {
                case vchrFind:
                        /*register notification */
                        handled = false;
                        break;
        }

        return handled;
}

Philip Streck
Akron General Medical Center
Information Systems

>>> "Eugene Mayevski" <[EMAIL PROTECTED]> 04/24/01 05:17AM >>>
Hello!

To get notified about Find key press, I need to call
KeySetMask(commandKeyMask); and
then handle keyDownEvent. Is this right? However I don't get keyDownEvent
when I run the application. Thanks in advance.

--
Sincerely yours,
Eugene Mayevski



-- 
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