Re: What NSEvent contains text from Ink input? [Solution]
Re: What NSEvent contains text from Ink input? [Solution]
- Subject: Re: What NSEvent contains text from Ink input? [Solution]
- From: Ricky Sharp <email@hidden>
- Date: Sun, 20 Nov 2005 18:51:40 -0600
On Nov 20, 2005, at 6:34 PM, Ricky Sharp wrote:
Note that gestures that simulate keys (e.g. delete, enter) will
still come in via keyboard events (and thus your keyDown: will be
called). One could modify the above to also listen for
kEventInkGesture. However, I haven't done any testing with that,
so I don't know if you'd still get the keydown if you return noErr
from ApplicationInkEventHandler after handling the gesture event.
My take is that an NSEvent should not be created in that situation.
I just added gesture support (listening of kEventInkGesture) and it
is the case where no NSEvent will be generated if you handle that
event. Thus, your keyDown: will not be called in cases where the
gesture simulates a key.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden