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 (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