Re: prevent drag from QTMovieView
Re: prevent drag from QTMovieView
- Subject: Re: prevent drag from QTMovieView
- From: douglas welton <email@hidden>
- Date: Sat, 8 May 2010 16:28:36 -0400
did you try overriding the -mouseDragged: method in your subclass?
On May 8, 2010, at 1:15 AM, Rainer Standke wrote:
> 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