• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What NSEvent contains text from Ink input? [Solution]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >What NSEvent contains text from Ink input? (From: Ricky Sharp <email@hidden>)
 >Re: What NSEvent contains text from Ink input? [Solution] (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: NSPredicate performance considerations
  • Next by Date: Re: Data modeling, inheritance, and relationships
  • Previous by thread: Re: What NSEvent contains text from Ink input? [Solution]
  • Next by thread: V.simple nstreecontroller example?
  • Index(es):
    • Date
    • Thread