Article ID: 126627 - Last Review: November 21, 2006 - Revision: 3.2 HOWTO: How to Disable the Screen Saver Programmatically
This article was previously published under Q126627
3.50 3.51
WINDOWS NT
kbgraphic
SUMMARY
Under Windows NT, you can disable the screen saver from your application
code. To detect if the screen saver is enabled, use this:
To disable the screen saver setting, call SystemParametersInfo() with this: MORE INFORMATION
When the screen saver is activated by the system, it is run on a desktop
other than the user's desktop (similar to the login desktop displayed when
no one is logged in). Therefore, you cannot use FindWindow() to determine if the screen saver is currently active.
Here are two methods that you can use to detect if the screen saver is currently running:
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top