Re: event/notification for focus?
Re: event/notification for focus?
- Subject: Re: event/notification for focus?
- From: Shawn Erickson <email@hidden>
- Date: Fri, 8 Apr 2005 12:45:01 -0700
On Apr 8, 2005, at 12:35 PM, Luc Vandal wrote:
Hi,
I managed to get it to work by changing NSPostASAP to NSPostNow
(hoping that this is ok).
It could be ok depending on what you are doing when you get the event
notification (recall the notification is being sent while your window
is in the process of handling a change in first responder). Not sure we
can answer fully for ya without knowing more and/or testing things.
One last thing, how can I get information about the control from
NSResponder?
What firstResponder gets you is the control itself (note that NSControl
is a subclass of NSView and NSView is a subclass or NSResponder).
-Shawn
_______________________________________________
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