Drag and Drop: NSImageView masks/prevents superview from receiving drag
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