Re: Something stopping power managment
Re: Something stopping power managment
- Subject: Re: Something stopping power managment
- From: Andrew James <email@hidden>
- Date: Tue, 24 Apr 2007 12:06:52 +0930
What would be a good alternative to blacking out the whole screen and
blocking the user from accessing the computer besides the current
window of my application (full screen)
On 24/04/2007, at 3:49 AM, Mike Paquette wrote:
On Apr 23, 2007, at 3:34 AM, Andrew James wrote:
if(CGDisplayCapture(kCGDirectMainDisplay) != kCGErrorSuccess) {
When displays are captured, other applications and system services
are in general not allowed change its configuration, to avoid
unpleasant surprises for your application. That would include not
switching off power to the frame buffer, which could produce an
exception in your program.
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/Reference/reference.html#//apple_ref/c/func/
CGDisplayCapture
CGDisplayCapture
Captures a display for exclusive use by an application.
Discussion
When an application captures a display, Quartz does not allow other
applications and system services to use the display or change its
configuration.
_______________________________________________
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