• 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: Kyle Sluder <email@hidden>
  • Date: Wed, 16 Jun 2010 19:11:02 -0700

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
_______________________________________________

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

  • Follow-Ups:
    • Re: DnD International No symbol
      • From: Tony Romano <email@hidden>
References: 
 >DnD International No symbol (From: Tony Romano <email@hidden>)

  • Prev by Date: DnD International No symbol
  • Next by Date: Re: DnD International No symbol
  • Previous by thread: DnD International No symbol
  • Next by thread: Re: DnD International No symbol
  • Index(es):
    • Date
    • Thread