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 (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/ledet%40apple.com
> 
> This email sent to le...@apple.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