• 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
Re: Responder Chain & Multiple Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Responder Chain & Multiple Windows


  • Subject: Re: Responder Chain & Multiple Windows
  • From: Graham Cox <email@hidden>
  • Date: Tue, 11 Nov 2008 00:31:51 +1100


On 11 Nov 2008, at 12:11 am, Todd Heberlein wrote:

From the documentation it seems that the window's NSDocumentController, even though it isn't the document's main window, should still be in the responder chain.

I assume you actually mean the window's NSDocument (or subclass thereof) - there is only one shared NSDocumentController in an app.


How are you creating the secondary windows? If you instantiate the controllers yourself you need to add them as subcontrollers of the document using its -addWindowController: method.

Otherwise yes, what you think you should see should work, menus should be enabled if they are implemented by the NSDocument subclass, even if a sub-window is frontmost.

--Graham
_______________________________________________

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Responder Chain & Multiple Windows
      • From: Todd Heberlein <email@hidden>
References: 
 >Detect microphone (From: chaitanya pandit <email@hidden>)
 >Re: Detect microphone (From: "Kyle Sluder" <email@hidden>)
 >Re: Detect microphone (From: chaitanya pandit <email@hidden>)
 >Re: Detect microphone (From: Graham Cox <email@hidden>)
 >Re: Detect microphone (From: chaitanya pandit <email@hidden>)
 >Responder Chain & Multiple Windows (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Responder Chain & Multiple Windows
  • Next by Date: [MEET] CocoaHeads Frankfurt, tonight 2008-11-10 8pm
  • Previous by thread: Responder Chain & Multiple Windows
  • Next by thread: Re: Responder Chain & Multiple Windows
  • Index(es):
    • Date
    • Thread