Re: Newbie Alert: NSMovieView with control won't update when movie changes.
Re: Newbie Alert: NSMovieView with control won't update when movie changes.
- Subject: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
- From: Scott Andrew <email@hidden>
- Date: Mon, 07 Jun 2004 09:42:19 -0700
This doesn't work either. I get junk drawn over the controller. If I remvoe
the controller all is fine.
>
From: Dietmar Planitzer <email@hidden>
>
Date: Mon, 7 Jun 2004 09:34:10 +0200
>
To: Scott Andrew <email@hidden>
>
Cc: Cocoa Posting <email@hidden>
>
Subject: Re: Newbie Alert: NSMovieView with control won't update when movie
>
changes.
>
>
On Jun 7, 2004, at 3:44 AM, Scott Andrew wrote:
>
>
> I have a window with an NSMovieView put on the window in
>
> InterfaceBuilder.
>
> I create a new empty movie using the quick time API.
>
> When the user clicks open movie I create a new track in the movie I
>
> assigned
>
> to MSMovieView.
>
>
>
> If my NSMovieView has the controls showing, the view and movie control
>
> don't
>
> update correctly. If the controls are not showing the movie updates
>
> correctly.
>
>
>
> I have called NSMovieView's setNeedsDisplay with no luck..
>
>
>
>
Have you already tried doing this ?
>
>
MCMovieChanged([myMovieView movieController], [[myMovieView movie]
>
QTMovie]);
>
[myMovieView setNeedsDisplay: YES];
>
>
MCMovieChanged tells the QT movie controller component to update its
>
internal state after you've changed some aspect of your movie. Calling
>
-setNeedsDisplay: afterwards is necessary so that the NSMovieView
>
actually redraws its contents.
>
>
I'm quite surprised to see that NSMovieView has no method wrapping this
>
function. But then, it's well known that NSMovieView & NSMovie are,
>
well, way too much focused on minimalism...
>
>
>
Regards,
>
>
Dietmar Planitzer
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.