Hi John,

To disable screen saver:
SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, False,
nil, SPIF_SENDCHANGE );

To enable screen saver:
SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, True,
nil, SPIF_SENDCHANGE );

Make sure to add Windows to your uses list. For more
information, check out SystemParametersInfo command in
Windows SDK (Win32.hlp).

Regards,

Luthfi B Hakim

Vorelsoft, Top Quality Software
PhiDesktop, Multi Virtual Desktop, add unlimited monitor to your PC


 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to