• 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: NSView over QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView over QTMovieView


  • Subject: Re: NSView over QTMovieView
  • From: Oliver Quas <email@hidden>
  • Date: Tue, 25 Mar 2008 15:20:08 +0100

Hi Joseph,

as you see, you can't just add your custom view to the QTMovieView. One solution to your problem would be to add your custom view to a borderless window, and add that window to your NSWindow containing the QTMovieView. Another solution would be to use CoreAnimation and use a QTMovieLayer instead of QTMovieView. Then you would be able to place any other CALayer in front of the movie layer.

Best regards,
Oliver


Am 25.03.2008 um 14:33 schrieb Joseph Ayers:

I'm working on an application to make measurements on each of the frames of a QTMovie. I have a window with a
QTMovieView and a superimposed NSView. When the QTMovieView is offset from the NSView, My app draws
to the NSView, but when they are exactly overlaid, I see nothing in the image. In fact, right on the edge, my NSView
elements are clipped. It seems like the NSView is behind the QTMovieView. I've tried


        [mMovieView addSubview:measureView]; and

[mMovieView addSubview:measureView positioned:NSWindowAbove relativeTo:mMovieView];

But neither seems to get renderings of NSView to appear above the QTMovieView.
How can I get the NSView superimposed over the QTMovieView?


Thanks,
Joseph

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSView over QTMovieView (From: Joseph Ayers <email@hidden>)

  • Prev by Date: Re: Obtaining the foreground application's path
  • Next by Date: Re: outlineViewSelectionDidChange not called
  • Previous by thread: NSView over QTMovieView
  • Next by thread: Windows networking API
  • Index(es):
    • Date
    • Thread