Re: Setting Application cursor
Re: Setting Application cursor
- Subject: Re: Setting Application cursor
- From: David Alter <email@hidden>
- Date: Wed, 14 Oct 2009 14:56:04 -0700
I do need the cursor to be active everywhere on the screen. In other places
we are using NSTrackingArea and that works great.
On Wed, Oct 14, 2009 at 2:48 PM, Kyle Sluder <email@hidden> wrote:
> 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