NSWindowController not responding to menu items
NSWindowController not responding to menu items
- Subject: NSWindowController not responding to menu items
- From: Dietrich Epp <email@hidden>
- Date: Mon, 1 Sep 2003 15:52:09 -0700
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.