Re: event/notification for focus?
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