a.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Windows UI during Screensaver
function IsScreenSaverActive: Boolean;
begin
SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @Result, 0);
end;
___
NZ Borland Developers Group
One thing that I encountered was that Windows message handling was
different (or non-existent?) when a screensaver is active.
For a personal project (http://gloss.ildica.com/) I wrote a screensaver
in Delphi which I wanted to communicate with another process on the same
machine. Windows messages
There is an article about that at...
http://www.latiumsoftware.com/en/pascal/0027.php#6
Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/
On 03/08/07, John Bird [EMAIL PROTECTED] wrote:
So what is the best way to detect the screensaver is on? The best way I
know so far is
function IsScreenSaverActive: Boolean;
begin
SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @Result, 0);
end;
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of John Bird
So what is the best way to detect the screensaver is on? The best way I
know so