Use FldHandleEvent() rather than EvtAddEventToQueue().

"Haejo Kim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Keith,
> I tried that before...it's not work....
> Because a chrUpArrow or chrDownArrow event doesn't execute promptly...
> FldGetInsPtPosition returns previous insertion position.although I called
> FldGetInsPtPosition function after posting chrUpArrow event....
>
> Thank you anyway,
> --HaeJo
>
> "Keith Rollin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> Haejo,
>
> How about calling FldGetInsPtPosition (or FldGetSelection), moving the
> cursor by posting a chrUpArrow or chrDownArrow, calling
FldGetInsPtPosition
> (or FldGetSelection) again, and then calling FldSetSelection with the
range
> of the two results after the key has been processed?
>
> -- Keith
>
>
> > -----Original Message-----
> > From: Haejo Kim [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 07, 2003 5:30 PM
> > To: Palm Developer Forum
> > Subject: Re: How can I get cursor position?
> >
> >
> > Dear Keith,
> > Thank you for your response...
> > Just posting key events to the Palm OS event queue is right
> > when sending general key....(ex:ASCII etc.)
> > But I'd like to implement text selection function using shift+cursor
> > key(left,right,up,dawn)...
> > As I know,shift key event doesn't work on the Palm OS...
> > Left and right cursor selection is simple using FldSetSelection
> > funcion,because it works on the Char offset basement...
> > But I don't know how to implement up and down cursor selection....
> > I tried to implement up and down selection by checking 'enter key'
> > basement....
> > But one line doesn't always contain 'enter key(0x0A)'....
> >
> > Do you any other solutions to implement text selection using
> > shift+cursor key?
> > Or are there special key events regarding shift+cursor key ?
> >
> >
> > Haejo Kim.
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to