CGDisplayCapture() & CGShieldingWindowLevel()
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.