FROM : Craig Bakalian
DATE : Thu Nov 25 09:44:06 2004
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_removed> 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
DATE : Thu Nov 25 09:44:06 2004
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_removed> 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
| Related mails | Author | Date |
|---|---|---|
| Greg | Nov 25, 02:32 | |
| Ricky Sharp | Nov 25, 03:01 | |
| Craig Bakalian | Nov 25, 09:44 |






Cocoa mail archive

