• 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: How to implement floating HUD on fullscreen NSOpenGLView ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement floating HUD on fullscreen NSOpenGLView ?


  • Subject: Re: How to implement floating HUD on fullscreen NSOpenGLView ?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 17 Jun 2008 16:14:20 -0400
  • Organization: Rogue Research

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@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

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: 
 >How to implement floating HUD on fullscreen NSOpenGLView ? (From: Mike <email@hidden>)

  • Prev by Date: Re: nib and xib
  • Next by Date: Database Visualization For All Cocoa Applications
  • Previous by thread: How to implement floating HUD on fullscreen NSOpenGLView ?
  • Next by thread: Hillegass Book 3rd ed. ScreenShots differ?
  • Index(es):
    • Date
    • Thread