Re: detect CGDisplayCapture
Re: detect CGDisplayCapture
- Subject: Re: detect CGDisplayCapture
- From: David Duncan <email@hidden>
- Date: Tue, 6 Mar 2007 14:52:24 -0800
On Mar 6, 2007, at 2:31 PM, Giovanni Donelli wrote:
I have a window of my app that floats over all the screen windows. The
level of the window is the NSStatusWindowLevel.
The problem I am trying to solve is that I would like my app's window
to hide when the user request a fullsceen app, say to watch a DVD or
play a QT movie fullscreen
is there a way to detect a CGDisplayCapture operation? or any
operation that capture the screen?
Is there any particular reason you want to hide your window? The OS
will prevent any window operations from affecting a captured screen,
so your windows would be safe in that instance.
However, I think the test applications that you are considering are
your problem - last time I looked at this, neither Quicktime Player
nor DVD Player actually captured the screen when they went fullscreen.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden