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 <kyle.slu...@gmail.com> wrote:

> On Wed, Oct 14, 2009 at 2:42 PM, David Alter <alterconsult...@gmail.com>
> 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 (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