Re: CGDisplayCapture() & CGShieldingWindowLevel()
Re: CGDisplayCapture() & CGShieldingWindowLevel()
- Subject: Re: CGDisplayCapture() & CGShieldingWindowLevel()
- From: James Duncan Davidson <email@hidden>
- Date: Fri, 24 May 2002 16:05:33 -0700
On Friday, May 24, 2002, at 14:06 US/Pacific, Allan Odgaard wrote:
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?
Considering Carbon to be a transitional API is a misleading--Carbon was designed from the outset to allow applications to be transitioned from OS 9 to OS X -- but even though it is a "transitional" API in that sense (helping developers transition applications), it doesn't seem to be "transitional" in the sense that it will fade away over time.
The way that I've been looking at it is that Cocoa is the Object Oriented API for Mac OS X--and that Carbon+CoreFoundation is the Procedural API.
Since what you need to do is just tell the menu bar to go hide itself, calling a simple function, even if it is Carbon, is fine for this.
_______________________________________________
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.