• 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: Charles Srstka <email@hidden>
  • Date: Mon, 13 May 2002 03:06:10 -0500

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.

On Monday, May 13, 2002, at 12:02 AM, Andy Lee wrote:

At 11:44 PM -0500 5/12/02, Charles Srstka wrote:
Okay, I have a document that has a document window. That window can spawn more windows that can become key. What's the best way to keep the document on the responder chain so that document commands that are linked to the first responder (save, save as, etc.) work? The way it currently is, if the document's main window is frontmost, the commands all work, but if any window is in front of it, they don't.

Would it be possible to make the document the delegate of all of those windows, or do some of them have something else as their delegate already?

--Andy
_______________________________________________
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.
_______________________________________________
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: Brendan Younger <email@hidden>
References: 
 >Re: Document with multiple windows (From: Andy Lee <email@hidden>)

  • Prev by Date: Drawing an underline like the one used to indicate spelling errors?
  • Next by Date: inserting graphics into NSString output
  • Previous by thread: Re: Document with multiple windows
  • Next by thread: Re: Document with multiple windows
  • Index(es):
    • Date
    • Thread