I would like to detect, in my program, when screen blank is turned off.
What I have tried:
I'm using C++, and my target platform is Windows 7.
I have a fair amount of experience in WinAPI programming.
I would like to detect, in my program, when screen blank is turned off.
This is *not* the screen saver, but the actual screen blanking operation itself.
(i.e., on my current machine, I have screensaver set to None, and "Turn off the display" set to 15 minutes. It is the "Turn on the display" that I wish to detect.).
Can anyone give me advice on what message or event to look for, to handle this task?