• 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: not receiving kIOMessageCanSystemSleep messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: not receiving kIOMessageCanSystemSleep messages


  • Subject: Re: not receiving kIOMessageCanSystemSleep messages
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 11 Jan 2007 10:03:53 -0500
  • Organization: Rogue Research

On 2007-01-11 05:29, Martin Redington said:

>If I set the machine's idle sleep timer to one minute in the system
>prefs, and wait until the machine sleeps (screen goes black, sleep
>light illuminates), I expected to receive a kIOMessageCanSystemSleep
>message, but one doesn't seem to arrive.

This doesn't seem to have anything to do with Cocoa, but anyway, did you
read this thread:

<http://lists.apple.com/archives/darwin-dev/2006/Dec/msg00033.html>

I ended up using UpdateSystemActivity() instead.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >not receiving kIOMessageCanSystemSleep messages (From: Martin Redington <email@hidden>)

  • Prev by Date: Re: Shadows & NSWindow question
  • Next by Date: Re: NSMutableArray of strings bound to NSTokenField does not update after paste
  • Previous by thread: not receiving kIOMessageCanSystemSleep messages
  • Next by thread: NSMutableArray of strings bound to NSTokenField does not update after paste
  • Index(es):
    • Date
    • Thread