• 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: Which is the event that when the mouse move out of the window area would response?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which is the event that when the mouse move out of the window area would response?


  • Subject: Re: Which is the event that when the mouse move out of the window area would response?
  • From: Joar Wingfors <email@hidden>
  • Date: Tue, 21 Apr 2009 23:29:32 -0700


On 21 apr 2009, at 23.22, Joe Yi wrote:

hello all:I had searched the document of the NSWindow,but I can't find the
event the would response when the mouse move out of the window area . Anyone
can tell me which method I could use?


I don't think that's functionality that's built into NSWindow, but you can get to it using tracking areas:

<http://developer.apple.com/documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html >
<http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/TrackingAreaObjects/TrackingAreaObjects.html >
<http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/MouseTrackingEvents/MouseTrackingEvents.html >


j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Which is the event that when the mouse move out of the window area would response? (From: Joe Yi <email@hidden>)

  • Prev by Date: Which is the event that when the mouse move out of the window area would response?
  • Next by Date: Re: How to make app login window to look like OS X user login window ?
  • Previous by thread: Which is the event that when the mouse move out of the window area would response?
  • Next by thread: Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
  • Index(es):
    • Date
    • Thread