Question and Answer Database FAQ1259D.txt Turning the screen saver off? Category :Miscellaneous Platform :All Product :All 32 bit Question: How do I turn the screen saver off? Answer: The following example shows how to turn the screensaver off. Example: procedure TForm1.Button1Click(Sender: TObject); begin {Turn it off} SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 0, nil, 0); {Turn it on} SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 1, nil, 0); end; 7/16/98 4:31:28 PM
Last Modified: 01-SEP-99