Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent NSApp from NSBeeping ?




On Aug 30, 2007, at 3:14 AM, Daniel Angermeier wrote:

yea, I already tried that but it didn't work.
Overrode - (void)noResponderFor:(SEL)eventSelector
in an NSApp subclass but it's never called.
I am having the NSBeeping problem with main menu items and table views.
isn't every event that is not handled through the responder chain
forwarded back to NSApp at the end of the responder chain ?
Is there any way to make NSApp not invoke NSBeep() then ?

In the case of menu items, have you confirmed (with a breakpoint on NSBeep) that the beep is coming from NSApp?


The reason I ask is that the menus on Mac OS X go through the Carbon menu manager and it could be that the responder chain is not invoked. The beep may be coming from the Carbon side of things.

Scott

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >How to prevent NSApp from NSBeeping ? (From: "Daniel Angermeier" <email@hidden>)
 >Re: How to prevent NSApp from NSBeeping ? (From: Jim Correia <email@hidden>)
 >Re: How to prevent NSApp from NSBeeping ? (From: "Daniel Angermeier" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.