I have a Delphi application that puts a computer into a screensaver using
hWnd := GetDesktopWindow ;
SendMessage (hWnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0) ;
This works fine under XP, but I believe that it does not work under (built-in) Windows 7.
Any ideas?
source
share