On 6/8/08 5:53 PM, Mike said: >I think this is more related to general cocoa so I post it here. > >I have OpenGL-view which can be toggled to fullscreen or not. ( [self >enterFullScreenMode:[NSScreen mainScreen] withOptions:nil]; ) > >This seems to work very well and is extremely simple solution. However >I was hoping to get menubar to slide visible when mouse cursor is on >top but that doesn't seem to work? > >So my next option is to have a floating HUD (like in aperture). > >How do I implement that? >I created HUD-window which is topmost but as soon as I go fullscreen >it's below NSOpenGLView. I am a little lost what is the current way or >am I even on the right track at all.
I suggest you stay away from enterFullScreenMode:withOptions: if you are serious about fullscreen support. It has a host of problems, which you can read about in the archives. Basically, when it goes fullscreen it makes your view's level kCGMaximumWindowLevel-1 and so the menu bar, dock, and your floating window will always be below it. It also doesn't play nice with SetSystemUIMode() so getting auto show/hide of the menubar and dock is not going to happen. Sorry to bring bad news. :) Do file bugs. -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [EMAIL PROTECTED]
