How about having two windows with different styles, and moving the content view from one to the other when you switch between fullscreen and regular modes?

--Andy

On Jan 20, 2009, at 5:40 PM, Mr. Gecko wrote:

Yeah I tried that but I would like to have the window the same style when it's out of full screen. But you can't change styles as I found out...

On Jan 20, 2009, at 3:17 PM, douglas welton wrote:

Mr. Gecko,

What code are you using to accomplish "fullscreen" mode? if you are using NSView's -enterFullScreenMode:withOptions: that method is not available on Tiger.

Have you considered using a borderless window with a frame that matches the monitor being used for display? This would allow you to do an overlay window without any issues and it can be back- ported to work on Tiger as well.

regards,

douglas

On Jan 20, 2009, at 4:07 PM, Mr. Gecko wrote:

Well I'm going to be Tiger and up so I don't know if that's a good idea.

On Jan 20, 2009, at 2:57 PM, Matt Long wrote:

You can add controls to your View in IB and then use a QTMovieLayer to display your movie (assuming you are Leopard only). Just make sure when you add the QTMovieLayer to your view's sub-layers that you use -insertSublayer:atIndex passing it an index of zero. This will keep all of the controls visible in front of the movie.

-Matt



On Jan 20, 2009, at 12:54 PM, Mr. Gecko wrote:

Actually I don't think that would work because it's adding it to the window it self and the window isn't going fullscreen, only my fullscreen NSView is... i could try subclassing QTMovieView sense it's a subclass of NSView and draw my layer on top.

Any suggestions?
Mr. Gecko

On Jan 20, 2009, at 1:21 PM, douglas welton wrote:

Have you tried to use an overlay (child) window like in the Movie Overlay sample code at the ADC site? Alternately, you have the option of displaying your movie in a QTMovieLayer and adding various sublayers to accomplish the effect you want.

On Jan 20, 2009, at 12:58 PM, Mr. Gecko wrote:

hide (shouldn't be too hard). When I tried to add controls over my movie, I placed it on the top layer in my NSView for going full screen, and it doesn't show... When I hide the QTMovieView it shows. But what's the point in having controls if you can't see the movie? Any help?

Thanks,


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/matt.long%40matthew-long.com

This email sent to matt.l...@matthew-long.com


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/douglas_welton%40earthlink.net

This email sent to douglas_wel...@earthlink.net


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/aglee%40mac.com

This email sent to ag...@mac.com

_______________________________________________

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

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

Reply via email to