• 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
CGDisplayCapture() & CGShieldingWindowLevel()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGDisplayCapture() & CGShieldingWindowLevel()


  • Subject: CGDisplayCapture() & CGShieldingWindowLevel()
  • From: Allan Odgaard <email@hidden>
  • Date: Fri, 24 May 2002 23:06:44 +0200

Hello there,

I'm going crazy with this fullscreen stuff...

According to the tutorial at http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000020.php then I should be able to get a window covering the full screen by calling setLevel on the window, with the result of CGShieldingWindowLevel() as argument.

This does not work for me -- the menubar still appear!

If I call CGDisplayCapture() first, then I do get a shielding window which cover the menubar, *but* my window won't go in front of this one, exactly as a previous post on this list explains (http://cocoa.mamasam.com/COCOADEV/2001/09/2/13278.php).

So it seems I have to resort to calling HideMenuBar() from the Carbon API, but this disgruntle me a bit, because I'd like to think that I could achieve my goal without having to use the MacOS 9<->10 transition API, which I consider Carbon to be (but maybe that view is wrong?)... also, it would be nice to know wether the tutorial over at CocoaDevCentral has worked for others?

Any comments appreciated, regards Allan
_______________________________________________
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: CGDisplayCapture() & CGShieldingWindowLevel()
      • From: James Duncan Davidson <email@hidden>
    • Re: CGDisplayCapture() & CGShieldingWindowLevel()
      • From: Don Murta <email@hidden>
  • Prev by Date: [NSInvocation setReturnValue:] crash!
  • Next by Date: Re: [NSInvocation setReturnValue:] crash!
  • Previous by thread: Re: [NSInvocation setReturnValue:] crash!
  • Next by thread: Re: CGDisplayCapture() & CGShieldingWindowLevel()
  • Index(es):
    • Date
    • Thread