[DUG] System tray program function when screensaver on.

Conor Boyd Conor.Boyd at trimble.co.nz
Thu Jul 5 09:13:40 NZST 2007


Can't comment about TCP, but I found with one app that I've written
recently that used window messages (i.e. SendMessage, PostMessage etc)
that window messaging didn't appear to work while the screensaver was
active.

In my case I was writing both an app to live in the system tray and the
screensaver.  I was wanting to use messages to pass info from the
screensaver to the system tray app, but it just wouldn't work.

I ended up using something from the madShi collection instead to pass
information between the processes.

Not a direct answer to your problem, but maybe it's some help.

C.

-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Phil Scadden

Got some puzzling behaviour. I have an app that normally lives in system
tray. It takes to a custom server on another machine via TCP using Indy
tcpClient readln with timeout. Normal behaviour is that the tray icon
will go into a flicker mode if it gets a message from the TCP server.
However, if the machine has dropped into screensaver mode, the flicker
state isnt triggered despite the server sending a message in that
period. Could the screensaver be interfering with TCP communication?



More information about the Delphi mailing list