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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to