Mailing Lists: Apple Mailing Lists

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

QTMovieView prevent mouse and key event processing




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.


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.

I'm sure I could hang a transparent child window over the movie, but for various reasons this is far less than an ideal solution.

Any ideas/hints/suggestions would be appreciated.
--

-=- John
_____________________________________________________________________________
John Turnipseed        | "The most likely way for the world to be destroyed,
Mac Driver/Programmer  |  most experts agree, is by accident. That's where
email@hidden    |  we come in; we're computer professionals.
email@hidden          |  We cause accidents." -- Nathaniel Borenstein
_______________________________________________
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.