Re: When does -[NSWindow sendEvent:] beep? [solved]
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