Re: Document with multiple windows
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.