• 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: event/notification for focus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: event/notification for focus?


  • Subject: Re: event/notification for focus?
  • From: Dustin Voss <email@hidden>
  • Date: Wed, 6 Apr 2005 17:22:53 -0700

On 6 Apr, 2005, at 11:57 AM, Luc Vandal wrote:

Hi!

is there any event/notification for when a control gains focus? I did search in the documentation and they mention that you can get notified when your control has focus but I can't seem to find any code to do it (I know how to register for a notification, but I don't know which class has that notification nor the notification name)!

I wrote a sub-class of NSWindow that posts a notification or calls the delegate when the first responder changes. You can get it from <http://homepage.mac.com/d.j.v./FileSharing13.html>.


Also, is there some quick reference people use to quickly find stuff like that? I dunno if it's my PC dev background but I always have a hard time to find out about pretty much anything in the documentation for Cocoa. :)

I check cocoadev.com first thing, then the mailing list archives, then the #macdev IRC channel on freenode.net.


_______________________________________________
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


  • Follow-Ups:
    • Re: event/notification for focus?
      • From: Luc Vandal <email@hidden>
References: 
 >event/notification for focus? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: NSCalendarDate, NSTimer - Daylight Saving Time (DST) problem is tricky...
  • Next by Date: Hiding/Showing Column Of TableView
  • Previous by thread: Re: event/notification for focus?
  • Next by thread: Re: event/notification for focus?
  • Index(es):
    • Date
    • Thread