Re: Which is the event that when the mouse move out of the window area would response?
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