• 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: Document with multiple windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document with multiple windows


  • Subject: Re: Document with multiple windows
  • From: Brendan Younger <email@hidden>
  • Date: Mon, 13 May 2002 06:41:34 -0400

On Monday, May 13, 2002, at 04:06 AM, Charles Srstka wrote:

They already have delegates.

Never mind, though - I found a rather obvious solution. I made all the windows NSPanels, so that only the main window, an NSWindow, can be the main window, and thus it's always on the responder chain.

That isn't necessary. From "The Role of Key Objects in Document-Based Applications", "By some special hard-wiring of the Application Kit, the NSDocument associated with the key window is the recipient of first-responder action messages."

Brendan Younger
_______________________________________________
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.

  • Follow-Ups:
    • Re: Document with multiple windows
      • From: Charles Srstka <email@hidden>
References: 
 >Re: Document with multiple windows (From: Charles Srstka <email@hidden>)

  • Prev by Date: What does NSURL setProperty:forKey: do?
  • Next by Date: Re: Slighty OT: Non-Cocoa Notifications
  • Previous by thread: Re: Document with multiple windows
  • Next by thread: Re: Document with multiple windows
  • Index(es):
    • Date
    • Thread