06-12-2012 05:41 PM
My program needs to know when the Windows screen saver becomes active. Is there some way to catch an OS event that indicates that the screen saver has become active?
Tony G.
06-13-2012 01:11 AM
Reading here, I think you can use InstallWinMsgCallback() to get the WM_SYSCOMMAND message with WParam == SC_SCREENSAVER when the scrrensaver starts.
In the page I linked there's an explanation on how to detect if screensaver is still running.