• 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: 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


References: 
 >event/notification for focus? (From: Luc Vandal <email@hidden>)
 >Re: event/notification for focus? (From: Dustin Voss <email@hidden>)
 >Re: event/notification for focus? (From: Luc Vandal <email@hidden>)
 >Re: event/notification for focus? (From: Shawn Erickson <email@hidden>)
 >Re: event/notification for focus? (From: Luc Vandal <email@hidden>)
 >Re: event/notification for focus? (From: Shawn Erickson <email@hidden>)
 >Re: event/notification for focus? (From: Luc Vandal <email@hidden>)
 >Re: event/notification for focus? (From: Shawn Erickson <email@hidden>)
 >Re: event/notification for focus? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Ordered lists WAS ADC Core Data article
  • Next by Date: Re: ADC Core Data article
  • Previous by thread: Re: event/notification for focus?
  • Next by thread: Re: event/notification for focus?
  • Index(es):
    • Date
    • Thread