Re: not receiving kIOMessageCanSystemSleep messages
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