• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Know when NSWindow lose Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSTreeController / NSOutlineView vs. sorting
  • Next by Date: Re: Change Budle Identifier, then lost defaults
  • Previous by thread: Know when NSWindow lose Key
  • Next by thread: Re: Know when NSWindow lose Key
  • Index(es):
    • Date
    • Thread