Re: NSDragOperation for operationNotAllowedCursor !!
Re: NSDragOperation for operationNotAllowedCursor !!
- Subject: Re: NSDragOperation for operationNotAllowedCursor !!
- From: Kyle Sluder <email@hidden>
- Date: Thu, 16 Jun 2011 10:23:52 -0700
On Thu, Jun 16, 2011 at 9:29 AM, Raleigh Ledet <email@hidden> wrote:
> In the meantime, you can create your own cursor with your own cursor image and set it manually. You'll be fighting the system a bit, but if you time it right, you should be ok.
Yea, this is what you're gonna have to do. NSDragOperationNone results
in an unbadged cursor.
I've been wishing for a while for a simple NSDraggingInfo method
called -setCursor: that would make it possible for custom cursors to
work for both in-app and cross-app drags. You can fake it yourself
using -pushCursor, but the logic is kind of subtle, and I'm iffy on
whether it breaks when the user drags out of your view and into
another app.
--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