Viraj Chatterjee wrote:
> Handle it in the Apps event loop rather than the form's. That's how it
> worked for me..
>
> <snip ....>
>
> if ((event.eType == keyDownEvent) && (event.data.keyDown.chr == vchrFind)
> && (FrmGetActiveFormID() == MyFormID))
> {
> event.data.keyDown.chr = /* put some value which you'll interpret as
> yours */
> }
>
> if (!SysHandleEvent(&event))
> ..................
> <snip....>
>
Do you think it will work? I noticed that event->data.keyDown.modifiers doesn't have
commandMask set.
In Chars.h it's written that vchrFind etc. MUST have commandMask set in order to be
recognized.
Which wersion PalmOS do you have? I'm working on 3.1.(but SDK 3.5)
Maybe i have to use PalmOS Glue?
Why are you checking for this event in EventLoop ?
Did'n it work in form event handler?
Wojtek
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/