Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Responding To Screen Saver/Sleep Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Responding To Screen Saver/Sleep Events



Nir,
I tried to follow the example by putting the code from the page into my main.m file of a brand new application. The application complied and ran, but I was never notified of the events. Do you happen to have any sample code or something that might show me how this is implemented within an application.


Thanks for your help!!

On Jan 28, 2008, at 5:14 PM, Nir Soffer wrote:


On Jan 23, 2008, at 17:13, Chris Schmitt wrote:

I would like my application to do something if the screen savor has started or the computer is going to sleep. Does anyone know where I can find an example, information on how to do this, or maybe just the API I need to look at?

Check this: http://developer.apple.com/qa/qa2004/qa1340.html


Best Regards,

Nir Soffer


_______________________________________________

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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.