At 8:37 AM -0400 2001/05/22, Paul Nevai wrote:
>Please explain me why I should use
>
>if (TxtCharIsVirtual (eventP->data.keyDown.modifiers, event.data.keyDown.chr))
>
>[or with TxtGlueCharIsVirtual] as opposed
>
>to
>
>if (event.data.keyDown.modifiers & commandKeyMask)
Because there are several modifiers flags that make a key event virtual, not just the
commandKeyMask flag. As of Palm OS 4.0 they are:
appEvtHookKeyMask | libEvtHookKeyMask | commandKeyMask
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/