Re: NSCursor - ignore previous (was incomplete)
Re: NSCursor - ignore previous (was incomplete)
- Subject: Re: NSCursor - ignore previous (was incomplete)
- From: Andy Lee <email@hidden>
- Date: Sun, 22 May 2011 21:59:28 -0400
On May 22, 2011, at 7:43 PM, Graham Cox wrote:
> Cursors can be tricky, for sure. They are typically associated with an area of the screen - the cursor is set on entry to that area. This area might be a view or part of a view and the easiest and most reliable mechanism for getting notified when the cursor enters and leaves a given area is to use NSTrackingArea.
Hi, Adam!
The docs are sparse and you may have read them already, but just in case:
<http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CursorMgmt/CursorMgmt.html>
I had to do some cursor management a while back and it wasn't too bad using NSTrackingArea but it still required some experimenting for some reason. It might be easier for you since your case sounds straightforward.
--Andy
_______________________________________________
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