• 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: Something stopping power managment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Something stopping power managment (From: Andrew James <email@hidden>)
 >Re: Something stopping power managment (From: Mike Paquette <email@hidden>)

  • Prev by Date: Re: [ANN] Dejal Cocoa categories
  • Next by Date: off screen drawing with cocoa
  • Previous by thread: Re: Something stopping power managment
  • Next by thread: Core Data, NSOutlineView and NSSortDescriptors
  • Index(es):
    • Date
    • Thread