• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie Alert: NSMovieView with control won't update when movie changes.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Newbie Alert: NSMovieView with control won't update when movie changes.
      • From: "Douglas A. Welton" <email@hidden>
References: 
 >Re: Newbie Alert: NSMovieView with control won't update when movie changes. (From: Dietmar Planitzer <email@hidden>)

  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
  • Next by thread: Re: Newbie Alert: NSMovieView with control won't update when movie changes.
  • Index(es):
    • Date
    • Thread