Re: Double click in QTMovieView
Re: Double click in QTMovieView
- Subject: Re: Double click in QTMovieView
- From: Tim Monroe <email@hidden>
- Date: Thu, 30 Mar 2006 14:30:23 -0800
On Mar 30, 2006, at 1:58 PM, Valerio Ferrucci wrote:
My view has a subview that is a QTMovieView.
I want to handle double-clicks inside the movie, but when the user
double-click inside the QTMovieView rect
the movie begins to play and I don't get the event!
Why QTMovieView handle mouse events for me?
This is the expected behavior. Clicking inside a movie should stop
it, and double-clicking should restart it.
Any idea on how to avoid this?
You should be able to avoid this behavior by subclassing QTMovieView
and overriding the appropriate methods. At least in QuickTime 7.0.4
or later; earlier versions did not allow successful subclassing/
overriding.
Tim Monroe
QuickTime Engineering
_______________________________________________
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