Not that tricky.

function IsScreenSaverActive: Boolean;
begin
  SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @Result, 0);
end; 

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of John Bird

1 - there is no reliable way I have found to detect when the screensaver
has actually started - if you know one please pass it on!

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject: 
unsubscribe

Reply via email to