NSDocument notification
NSDocument notification
- Subject: NSDocument notification
- From: Craig Bakalian <email@hidden>
- Date: Thu, 25 Nov 2004 03:44:06 -0500
Hi,
I hope you have a subclass of NSWindowController with the document. I
think you need to listen to the window give off a
-(void)windowDidBecomeKey: (NSNotification *)notification. Yet, you
may not need to have a NSWIndowController. Just use some object that
can become the delegate of the NSWindow. Make that object the delegate
of the window and then implement the windowDidBecomeKey method.
Craig Bakalian
www.eThinkingCap.com
On Nov 24, 2004, at 9:08 PM, email@hidden wrote:
Are there any notifications I can listen for when you have multiple
documents open and one that is not the front most is brought to the
front and made the current document or do I have to subclass
NSDocumentController?
Greg
_______________________________________________
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