• 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: When does -[NSWindow sendEvent:] beep? [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When does -[NSWindow sendEvent:] beep? [solved]


  • Subject: Re: When does -[NSWindow sendEvent:] beep? [solved]
  • From: David Catmull <email@hidden>
  • Date: Wed, 21 Feb 2007 10:40:19 -0800

On Feb 20, 2007, at 3:57 PM, Bob Smith wrote:
It seems like NSEvent's +keyEventWithType: must be creating an event object that is in some subtle way different than the one generated when a real key is pressed.

The key difference was adding NSNumericPadKeyMask+NSFunctionKeyMask to the modifier flags for cases like the arrow keys. This finally made NSWindow call keyDown instead of moveUp.


Thanks to everyone for their help on this.

--
David Catmull
email@hidden
http://www.uncommonplace.com/

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: "Sean McBride" <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: "Sean McBride" <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: Greg Titus <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: David Catmull <email@hidden>)
 >Re: When does -[NSWindow sendEvent:] beep? (From: Bob Smith <email@hidden>)

  • Prev by Date: bycopy in and NSDistantObject in return
  • Next by Date: Error using categories: 'cannot find interface section for MyClass'
  • Previous by thread: Re: When does -[NSWindow sendEvent:] beep?
  • Next by thread: Re: When does -[NSWindow sendEvent:] beep?
  • Index(es):
    • Date
    • Thread