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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to