Gotta Love Corbin, works as advertised.  

What's inconsistent here though is the copy operation changes the icon so you 
would think the NSDragOperationNone(or better yet the non-existent 
NSDragOperationNotAllowed) would change it as well. OR the return operation 
would not change any of them and then the user knows to use NSCursor through 
clear documentation outlining DnD and cursor management.  LOL, i'm not sure 
where to file a enhancement request.

Anyways, thanks

-Tony

On Jun 17, 2010, at 3:48 PM, Corbin Dunn wrote:

> 
> On Jun 16, 2010, at 7:19 PM, Tony Romano 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.
> 
> Call:
>  [[NSCursor operationNotAllowedCursor] set];
> before returning NSDragOperationNone.
> 
> corbin
> 
> 

-Tony

_______________________________________________

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