• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DnD International No symbol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DnD International No symbol


  • Subject: Re: DnD International No symbol
  • From: John Joyce <email@hidden>
  • Date: Thu, 17 Jun 2010 00:00:57 -0500

The common behavior is that it will not drop and will (very quickly) snap back to origin.

On Jun 16, 2010, at 9: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.
>
> -Tony
>
> On Jun 16, 2010, at 7:11 PM, Kyle Sluder wrote:
>
>> On Wed, Jun 16, 2010 at 6:55 PM, Tony Romano <email@hidden> 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
>>
>
> -Tony
>
> _______________________________________________
>
> 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

References: 
 >DnD International No symbol (From: Tony Romano <email@hidden>)
 >Re: DnD International No symbol (From: Kyle Sluder <email@hidden>)
 >Re: DnD International No symbol (From: Tony Romano <email@hidden>)

  • Prev by Date: Always Notified when Key is Released
  • Next by Date: Re: Add button to Finder
  • Previous by thread: Re: DnD International No symbol
  • Next by thread: Re: DnD International No symbol
  • Index(es):
    • Date
    • Thread