• 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: Setting Application cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Application cursor


  • Subject: Re: Setting Application cursor
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 14 Oct 2009 14:48:26 -0700

On Wed, Oct 14, 2009 at 2:42 PM, David Alter <email@hidden> wrote:
> I need to set a cursor for the application when it is in specific states. I
> have been doing this by creating by cursor and calling set.

Do you need this cursor to be effective anywhere on the screen?  If
not, use the NSTrackingArea API on whatever view you want to have the
custom cursor.  This is what we do in OmniGraphSketcher (well, we
don't use NSTrackingArea, but instead the older tracking rect event
API, but the result is the same).

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Setting Application cursor
      • From: David Alter <email@hidden>
References: 
 >Setting Application cursor (From: David Alter <email@hidden>)

  • Prev by Date: Setting Application cursor
  • Next by Date: Re: Setting Application cursor
  • Previous by thread: Setting Application cursor
  • Next by thread: Re: Setting Application cursor
  • Index(es):
    • Date
    • Thread