Re: Know when NSWindow lose Key
Re: Know when NSWindow lose Key
- Subject: Re: Know when NSWindow lose Key
- From: Gregory Weston <email@hidden>
- Date: Wed, 31 Aug 2005 07:34:21 -0400
I need to know when a Window lose Key. How?
Generally for things like this, you want to look and see what the
delegate is expected or allowed to provide. In this case, the
NSWindow documentation offers:
windowDidResignKey:
- (void)windowDidResignKey:(NSNotification *)aNotification
Sent by the default notification center immediately after an NSWindow
has resigned its status as key window. aNotification is always
NSWindowDidResignKeyNotification. You can retrieve the NSWindow
object in question by sending object to aNotification.
_______________________________________________
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