Re: Double click in QTMovieView
Re: Double click in QTMovieView
- Subject: Re: Double click in QTMovieView
- From: Valerio Ferrucci <email@hidden>
- Date: Fri, 31 Mar 2006 15:59:23 +0200
Ok, I use 7.0.4 and it works right, thanks.
and is it possible also to override the drawRect method in order to
draw some elements above the movie?
I tried it but the movie always covers my drawing.
Any further help?
Il giorno 31/mar/06, alle ore 00:30, Tim Monroe ha scritto:
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:
40tabasoft.it
This email sent to email@hidden
==================================================================
Valerio Ferrucci Tabasoft Sas
email@hidden http://www.tabasoft.it
_______________________________________________
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