Re: owning the screen?
Re: owning the screen?
- Subject: Re: owning the screen?
- From: Jeff Ganyard <email@hidden>
- Date: Fri, 16 Jul 2004 13:11:43 -0700
I thought that CGCaptureAllDisplays was my magic bullet. It blacks
out all screens, I can then display my UI above it but all that black
is way too abrupt. Unfortunately, there is no way to manipulate the
shielding layer. So what I'm looking for is something similar but
allows some manipulation of how it is displayed. If I could just make
that shield layer translucent... Is there any way? I tried a few
approaches but only got the black layer.
Any suggestions on other approaches would be most appreciated!
New for Mac OS X 10.3:
CGDisplayErr CGCaptureAllDisplaysWithOptions(CGCaptureOptions
options);
CGDisplayErr CGDisplayCaptureWithOptions(CGDirectDisplayID display,
CGCaptureOptions options);
Calling:
CGCaptureAllDisplaysWithOptions(kCGCaptureNoFill);
causes all displays to be captured, disables application switching and
most hot keys other than your app's, and 'freezes' the GUI for other
apps into a static image.
That sound like it's what I'm looking for! But I can't find docs on it
anywhere (local dev docs or ADC docs)
...or is it new for 10.4?
I'd like to see some details on CGCaptureOptions or at least the
description of kCGCaptureNoFill and similar constants.
thanks!
_______________________________________________
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.