Re: DnD International No symbol
Re: DnD International No symbol
- Subject: Re: DnD International No symbol
- From: Graham Cox <email@hidden>
- Date: Tue, 22 Jun 2010 15:40:08 +1000
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 (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
_______________________________________________
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