Re: How to tell if first responder
Re: How to tell if first responder
- Subject: Re: How to tell if first responder
- From: Allan Odgaard <email@hidden>
- Date: Wed, 12 May 2004 15:35:22 +0200
On 12. May 2004, at 15:07, Bjvrn Carlstrvm wrote:
[...] How can I tell if a view is the first responder [...]
NSWindow* win = [self window];
if([win isKeyWindow] && [win firstResponder] == self)
...
_______________________________________________
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.