Link to home
Start Free TrialLog in
Avatar of aussie_guy_nik
aussie_guy_nik

asked on

activating screensaver on host from the server

which command can I use in Delphi to activate the screensaver on client machines from the server?
Avatar of ginsonic
ginsonic
Flag of Romania image

listening
Avatar of classics
classics

You will need to listen on a socket on each client machine.  Then have the server send the client a special message of whatever kind you like, then once the client gets it, trigger:

PostMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_SCREENSAVE, 0);

To start the local screensaver.
ASKER CERTIFIED SOLUTION
Avatar of ginsonic
ginsonic
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
aussie_guy_nik ,
Any comment ?