On 19/12/2009, at 6:50 AM, Todd Heberlein wrote:

> I have a document-based app. For each document there can be a couple of 
> satellite windows brought up for specific views of some of the data. Each of 
> these satellite windows is controlled by an NSWindowController subclass 
> loaded by MyDocument and added via addWindowController:.  A menu item's 
> target is the First Responder, and the method to implement the action is in 
> MyDocument. Everything works as expected when the primary window is key.
> 
> The problem is that when one of the satellite windows is key, menu items 
> implemented by MyDocument are disabled. I thought the responder chain went 
> through the NSWindowController and then through to its NSDocument? Or is this 
> only the case when for the document's primary window (and NSWindowController)?


That's correct, and that's how it should work. It works here in a test app. Are 
you doing anything "unusual" in your NSWindowController? What methods are you 
overriding?

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to