• 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: owning the screen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: owning the screen?


  • Subject: Re: owning the screen?
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 16 Jul 2004 14:31:41 -0700

On Jul 16, 2004, at 1:11 PM, Jeff Ganyard wrote:

>>> 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.

I think the only docs are in the header, CGDirectDisplay.h

-Shawn
_______________________________________________
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.


References: 
 >owning the screen? (From: Jeff Ganyard <email@hidden>)
 >Re: owning the screen? (From: Mike Paquette <email@hidden>)
 >Re: owning the screen? (From: Jeff Ganyard <email@hidden>)

  • Prev by Date: Re: finding header files
  • Next by Date: Re: SMySQL
  • Previous by thread: Re: owning the screen?
  • Next by thread: Cocoa semantics
  • Index(es):
    • Date
    • Thread