• 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: Disabling screen turning off
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling screen turning off


  • Subject: Re: Disabling screen turning off
  • From: Jeff Nouwen <email@hidden>
  • Date: Fri, 02 May 2008 07:14:30 -0600

On May-2-2008, at 2:26 AM, Jere Gmail wrote:
I know I can stop the machine from going to sleep through calling the function
UpdateSystemActivity ( UInt8 activity );
But I also want to stop it from turning off the screen, as quicktime or vlc do.
How can I do this?

Pass in UsrActivity as your activity value: UsrActivity Delays idle sleep and dimming by timeout time. Available in Mac OS X v10.0 and later. Declared in Power.h

- Jeff
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Disabling screen turning off (From: "Jere Gmail" <email@hidden>)

  • Prev by Date: Unit Test error XCode 3.1 (Beta)
  • Next by Date: Re: NSFormatter, NSTextfield and bindings
  • Previous by thread: Disabling screen turning off
  • Next by thread: Graphics seen when volume is modified.
  • Index(es):
    • Date
    • Thread