How to programmatically disable screen saver?
-
Hi, my program needs to do some lengthy process without any interruption on users computer, however if the user has screen saver enabled things will be completely screwed up. I remember I saw a post here about disabling screen saver a few eeks ago but now I can't find it anymore. Thanks.
-
Hi, my program needs to do some lengthy process without any interruption on users computer, however if the user has screen saver enabled things will be completely screwed up. I remember I saw a post here about disabling screen saver a few eeks ago but now I can't find it anymore. Thanks.
-
Hi, my program needs to do some lengthy process without any interruption on users computer, however if the user has screen saver enabled things will be completely screwed up. I remember I saw a post here about disabling screen saver a few eeks ago but now I can't find it anymore. Thanks.
Hello! Here is the link to the entire thread: http://www.codeproject.com/script/comments/forums.asp?msg=258720&forumid=1647#xx258720xx[^] Hope that helps! Sincerely, Alexander Wiseman Est melior esse quam videri It is better to be than to seem
-
Hi, my program needs to do some lengthy process without any interruption on users computer, however if the user has screen saver enabled things will be completely screwed up. I remember I saw a post here about disabling screen saver a few eeks ago but now I can't find it anymore. Thanks.
BOOL screenSaverActive; SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, 0, &screenSaverActive, 0); if (screenSaverActive) SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, NULL, 0); ... if (screenSaverActive) // restore screen saver SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, TRUE, NULL, 0);