• 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: NSCursor - ignore previous (was incomplete)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSCursor - ignore previous (was incomplete) (From: Adam Gerson <email@hidden>)
 >Re: NSCursor - ignore previous (was incomplete) (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSCursor - ignore previous (was incomplete)
  • Next by Date: Recursive search for files
  • Previous by thread: Re: NSCursor - ignore previous (was incomplete)
  • Next by thread: Recursive search for files
  • Index(es):
    • Date
    • Thread