1. Screen Saver Running?

How can I tell from within a Euphoria program if a screen saver has kicked in? I
have several monitoring programs that bitBlt to the Screen, but die when the
user's Screen Saver turns on. As much as I'd like to, I cannot simply turn off
the end user's screen saver when my apps are running. Does the app's window size
itself go to zero or negative? Am I on the right track here?

Yours, OtterDad

Don't sweat it -- it's not real life. It's only ones and zeroes. Gene Spafford

new topic     » topic index » view message » categorize

2. Re: Screen Saver Running?

OtterDad wrote:
> 
> How can I tell from within a Euphoria program if a screen saver has kicked in?
> I have several monitoring programs that bitBlt to the Screen, but die when the
> user's Screen Saver turns on. As much as I'd like to, I cannot simply turn off
> the end user's screen saver when my apps are running. Does the app's window
> size itself go to zero or negative? Am I on the right track here?

Take a look at these two links:
http://support.microsoft.com/kb/315725
http://msdn2.microsoft.com/en-us/library/ms724947.aspx

...and from winuser.h:
#define SPI_GETSCREENSAVERRUNNING 0x0072

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu