• 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
Drag and Drop: NSImageView masks/prevents superview from receiving drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and Drop: NSImageView masks/prevents superview from receiving drag


  • Subject: Drag and Drop: NSImageView masks/prevents superview from receiving drag
  • From: Sean Murphy <email@hidden>
  • Date: Thu, 13 Jul 2006 01:06:30 -0400

I have a custom NSView which is a dragging destination. In Interface Builder, a group of controls has been made a subview of this custom view. When dragging into the custom view, all of the controls except an NSImageView ignore the drag and allow the view behind it (my custom view) to receive the drag operation. The NSImageView appears to "swallow" the drag, however, and prevent the intended view from receiving anything.

I'd like a drag anywhere inside the frame of my custom view to be handled by the view itself and not intercepted by any controls on top of it.

The image view's enabled and editable properties have both been set to NO. It seems as though the image view is behaving like an image well, which isn't what I want..

Is there something I'm doing wrong, or a way to prevent this behavior?

Thanks for helping!
-Sean
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Drag and Drop: NSImageView masks/prevents superview from receiving drag
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Showing table scrollbars
  • Next by Date: Re: NSPasteboardPromiseTimeout question
  • Previous by thread: Re: Showing table scrollbars
  • Next by thread: Re: Drag and Drop: NSImageView masks/prevents superview from receiving drag
  • Index(es):
    • Date
    • Thread