Re: determining front most document?
Re: determining front most document?
- Subject: Re: determining front most document?
- From: Jonathon Mah <email@hidden>
- Date: Tue, 26 Apr 2005 19:06:57 +0930
On 26 Apr 2005, at 15:59, Mark Dawson wrote:
When I bring my preferences window forward, it puts my document behind
(as expected). However, I want my pref window to access the "current"
document, which I guess is defined as the top most window that has a
document associated with it. [[NSDocumentController
sharedDocumentController] currentDocument] doesn't work because it
returns the document associated with the main window, which is my
preference window (so returns nil).
No idea if it will make a difference, but what if you make the
Preferences window a panel instead?
Jonathon Mah
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden