• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWindowController not responding to menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: build executable
  • Next by Date: Re: build executable
  • Previous by thread: Re: Making a sheet from a view
  • Next by thread: build problem
  • Index(es):
    • Date
    • Thread