I think one possible explanation for the lack of cursor changing with 
NSDragOperationNone is that [NSCursor operationNotAllowedCursor] appears to 
have been introduced in 10.6 (Snow Leopard), so this was not a possibility in 
the paradigm contained in prior versions of the API.

To file an enhancement request, you can go to: http://bugreport.apple.com.  
Unless you know that already, and just meant how to phrase it--in that case, 
I'm unsure as to the best way and should probably leave it to other 
CocoaDevvers to assist you.

Cheers,
        Andrew

On Jun 17, 2010, at 5:27 PM, Tony Romano wrote:

> 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/merenbach%40ucla.edu
> 
> This email sent to merenb...@ucla.edu

_______________________________________________

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