Re: DnD International No symbol
Re: DnD International No symbol
- Subject: Re: DnD International No symbol
- From: Kyle Sluder <email@hidden>
- Date: Wed, 16 Jun 2010 19:29:54 -0700
On Wed, Jun 16, 2010 at 7:19 PM, Tony Romano <email@hidden> wrote:
> Hmm... I'm returning the NSDragOperationNone now, all I get is an image of what is being dragged no other symbol and the outlineview won't accept the drop which is correct. When I have a valid selection, I get the other symbol for copy(green circle with plus sign), or for Move, the outlineview highlights the drop point.
Right, that's what I would expect. Cocoa doesn't distinguish between
"can't drop" and "can drop" by changing the cursor.
You might consider this a bug, in which case you should file an
enhancement request. In the meantime, if the conditions under which
users are permitted to drop things are complex or obscure, you might
want to use the method I described before. Or you can use the same
technique to put a little "no" icon next to the cursor, but I imagine
it would take a bit of work to deduce where to put the icon so as to
avoid the cursor image. You can't hardcode it in case the cursor has a
custom image.
--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