...die Bildschirmschoner Wartezeit ermitteln?

Autor: Rainer Kümmerle
Homepage: http://www.thinklazy.de

Kategorie: System

function GetScreenSaverTimeout: Integer;
begin
  
SystemParametersInfo(SPI_GETSCREENSAVETIMEOUT, 0, @Result, 0);
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  
ShowMessage(IntToStr(GetScreenSaverTimeout) + ' Sec.');
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base