On Wed, Jun 16, 2010 at 6:55 PM, Tony Romano <tony...@hotmail.com> wrote: > Briefly, in a DnD operation all the nodes selected need to be siblings of > each other. During validateDrop I check for this and it calculates it just > fine. However, I need to set the DnD image to something indicating this is > not allowed, I thought using the International NO symbol made sense but it is > not defined as one of the NSDragOperation... flags. So I am thinking either > this is not HIG compliant or it is and I just need to supply my own. I know > I have seen other apps do it but it's doesn't been it's HIG compliant.
I believe that's a Carbon thing; there is also no standard "not allowed" cursor. Just return NSDragOperationNone and let the slide-back animation do its job. If you want to explain to the user why they can't drag, maybe you could use a tooltip? Query the draggingInfo in -draggingUpdated: and use it to position a borderless window that describes why the operation can't be done. --Kyle Sluder _______________________________________________ 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