Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTMovieView prevent mouse and key event processing




On Aug 9, 2005, at 12:09 PM, John Turnipseed wrote:

I need to prevent the user from dragging or pausing a movie playing
in a QTKit/QTMovieView. I've already got a subclass of QTMovieView
for other reasons, so I assumed it should be as easy as adding my own
methods for mouseDown, mouseDragged, and keyDown. None of my methods
are being called though.

This is a known issue that we hope to address sooner rather than later. Sorry you are getting bit by it.


I noticed that there is a _draggable attribute in the QTMovie, as a
test I tried calling setDraggable:NO on the loaded movie, and now my
mouseDragged selector does get called, but the mouseDown and keyDown
selectors are still not called.

This is a dangerous strategy. The setDraggable method is not public and you probably should not rely on it. I will try to devise safer ways to do what you want (prevent the user from dragging or pausing the movie) and contact you off-list in a day or so.



Tim Monroe QuickTime Engineering email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.