Re: When does -[NSWindow sendEvent:] beep?
Re: When does -[NSWindow sendEvent:] beep?
- Subject: Re: When does -[NSWindow sendEvent:] beep?
- From: "Sean McBride" <email@hidden>
- Date: Tue, 20 Feb 2007 17:22:24 -0500
- Organization: Rogue Research
On 2007-02-20 14:08, David Catmull said:
>> Did you try putting a breakpoint on NSBeep() (via 'b NSBeep' in gdb).
>> Maybe the backtrace will have a revealing method name...
>
>Yes I did. I call [NSApp sendEvent:], which calls -[NSWindow
>sendEvent:], which calls NSBeep(). Hence my subject line :)
Got ya; it wasn't clear to me from your post. I was hoping maybe you'd
see something like bailForEventWithBadType: or some such.
NSResponder has a special method for the arrow keys (moveLeft:), that's
probably got something to do with it. Try breaking on it. Or on
interpretKeyEvents:.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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