This is working on Palm OS 3.1 and above...
It didn't work for me in the Form event loop, probably I was missing
something...
-vc

----- Original Message -----
From: "Wojtek" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 4:39 PM
Subject: Re: How to react on Find icon


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


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