Sorry to rehash an old thread, but just trying this as stated doesn't work for 
me.

Once I set the cursor in this fashion it never changes to what it should do 
when a valid drag operation is returned. I should point out that I'm linking 
against the 10.5 SDK though and testing for this method using 
-respondsToSelector: (which therefore only works on 10.6 anyway). Could that 
have anything to do with it?

Otherwise I need to know a way to turn off this cursor when necessary so that 
the drag system can do its thing correctly as normal.

--Graham



On 18/06/2010, at 8:48 AM, 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
> 
> _______________________________________________
> 
> 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/graham.cox%40bigpond.com
> 
> This email sent to graham....@bigpond.com

_______________________________________________

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