Mailing Lists: Apple Mailing Lists

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

NSWindowController not responding to menu items



I have an NSWindowController subclass with an action that shows a related window. The menu item for this is hooked up to that action of the first responder. Yet, the menu items are disabled and I can't figure out how to enable them.

More info:
- The action can't be sent to the document -- the windows are paired 2D / 3D views, and the correct 3D view must be shown for the 2D view.
- The window controller is indeed set as the delegate of the window, which should put it in the responder chain.
- The window controller does implement the methods that the menu items target, as well as the NSUserInterfaceValidations protocol.
- There are menu items that work, targeting methods that a view inside the window implements.

I've run out of ideas...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



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.