So problem solved by having a subclass of QTMovieView check in overridden 
performKeyEquivalent: whether it's firstResponder and returning NO if it isn't 
and passing to super if it is.

On Sep 15, 2012, at 4:28 PM, Eric Wing wrote:

> On 9/15/12, Matthew Weinstein <mwein...@kent.edu> wrote:
>> Dear programmers,
>> I have a window with a nstextview and a qtmovieview.. The problem is that
>> the movieview steals all of the keystrokes so the left and right arrow keys
>> never make it to the nstextview. I have tried subclassing qtmovieview and
>> capturing keydown and keyup, but that didn't work... Has any one found a way
>> to prevent keystrokes from going to the movieview or how do I redirect
>> them?
>> 
> I don't know about this one, but QTMovieView has given me many
> problems over the years. And in my opinion, the writing is on the wall
> that QTKit's days are over.
> 
> I think you may be better off moving to AVFoundation and put an
> AVPlayerLayer in a host NSView. Then you should be able to make the
> host NSView do anything you want. (Presumably, you could also do the
> same with a QTMovieLayer, but I reiterate, I think QTKit isn't a good
> thing for new code moving forward.)
> 
> -Eric
> -- 
> Beginning iPhone Games Development
> http://playcontrol.net/iphonegamebook/


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to