Detect when screensaver activates
Posted on 1998-07-21
Seems to be my day asking questions - but with the help of E-E my programming has come on leaps and bounds and the encouragement of my school IT Manager means that I'm busily writing quite-handy ( :) ) little apps during these long summer holidays (tough life, eh?)
I had the idea of an app that detected when the screensaver activated, waited a few minutes and then if the screensaver hadn't turned off, logged-off the user to stop people forgetting to log-off and consequently having trouble logging on the next day.
I had a look at SystemParametersInfo, with GETSCREENSAVERACTIVE (which is great for disabling c-a-d) but this only seems to find out whether screen-saving is enabled in display control panel....