prevent drag from QTMovieView
prevent drag from QTMovieView
- Subject: prevent drag from QTMovieView
- From: Rainer Standke <email@hidden>
- Date: Fri, 7 May 2010 22:15:51 -0700
Hello,
I have a Collection View whose prototype view includes a QTMovieView. I need the collection view to be a drag source, and that works fine.
I need the QTMovieView to not be a drag source, so I subclassed it with a method that looks like this:
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
{
NSLog(@"nodrag");
return NSDragOperationNone;
}
I can see "nodrag" logged when I start dragging from the movie view, and then a dragging image peels off, which is what I don't want.
For good measure I have turned off 'Editable' for the view in IB , and I am setting the movie to be not editable when I initialize it, to no avail.
I have done the same for the prototype view that includes the movie view, to no avail, either.
Any ideas about this one?
As always, thanks!
Rainer_______________________________________________
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