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 didn't seem to be handled by the listening application while the screensaver was active. I couldn't find much documentation about it though. It wouldn't surprise me if this sort of thing would have a knock-on effect of stopping application updating/painting. I ended up using some IPC code from www.madshi.net to do my message handling, although I'm not sure that's going to be much use to you. HTH, Conor -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Bird Does anyone know what happens when the Windows screensaver comes on - I suspect a program keeps working (eg if there is a timer it keeps firing) but it seems to me that Windows turns off any screen updating. I guess the logic is "it can't be seen so I won't update it". Or does this affect only some UI components - eg canvas draw - which is a more primitive level of drawing? Anyone else had to do special catering for when a screensaver comes off? _______________________________________________ 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
