Re: subclass NSWindow
Re: subclass NSWindow
- Subject: Re: subclass NSWindow
- From: "Laurent Daudelin" <email@hidden>
- Date: Wed, 26 Nov 2003 13:39:37 -0500
On 26/11/03 12:59, "Chad Harrison" <email@hidden> wrote:
>
How do I detect when my app's main window gets miniaturized? I want to
>
update some menu items as soon as the window is miniaturized - do I
>
need to subclass NSWindow and make that the first responder for my
>
window or something?
No need to subclass NSWindow. Just have your delegate implements
- (void)windowDidMiniaturize:(NSNotification *)aNotification
Send message 'object' to 'aNotification' to get the actual window that did
miniaturize.
-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
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.