Re: NSDragOperation for operationNotAllowedCursor !!
Re: NSDragOperation for operationNotAllowedCursor !!
- Subject: Re: NSDragOperation for operationNotAllowedCursor !!
- From: Raleigh Ledet <email@hidden>
- Date: Thu, 16 Jun 2011 09:29:30 -0700
File a radar asking for a new NSDragOperation, NSDragOperationNotAllowed.
In the meantime, you can create your own cursor with your own cursor image and set it manually. You'll be fighting the system a bit, but if you time it right, you should be ok.
-raleigh
On Jun 15, 2011, at 7:47 AM, Naresh Kongara wrote:
> Hi,
>
> I'm working on a cocoa application, which is like a file browser similar to finder. In this application we implemented drag and drop of files/folder. we succeeded in displaying copy and link cursors for respective drag operations. As in finder how can we display a OperationNotAllwedCursor when user tries to drag a folder onto itself. I mean which drag operation displays such kind of cursor. I tried returning all NSDragOperations from validateDrop: methods, but none of the operation displays such kind of cursor. Do we need to implement any thing special for this . Pls do let me know if you have any idea.
>
>
> Thanks,
> nkongara_______________________________________________
>
> 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