• 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
NSImageView blocking drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImageView blocking drag


  • Subject: NSImageView blocking drag
  • From: Gordon Apple <email@hidden>
  • Date: Sat, 03 May 2008 05:28:15 -0500

    I have a custom view that contains a (covering) NSImageView.  The latter
is disabled.  I want the custom view to handle all drag operations.  This
works fine as long as I don't drag in a type (e.g., NSFilenamesPboardType)
that NSImageView directly supports.  setAllowsCutCopyPaste:NO for the
NSImageView does not help.  The drop never gets to the custom view (yes, it
registers the types) but is simply rejected by the disabled NSImageView.  My
custom view's dragOperationForDraggingInfo never gets called in such case.
If I squeeze down the NSImageView and drag directly to the exposed custom
view, it works fine.

    Shouldn't disabling the NSImageView make it effectively invisible for
all such operations?  Bug report time?

_______________________________________________

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

  • Prev by Date: scriptability of button in interface?
  • Next by Date: Re: Loading a .nib?
  • Previous by thread: Re: scriptability of button in interface?
  • Next by thread: Update NSMenuItem while displaying
  • Index(es):
    • Date
    • Thread