1. Screen Saver Running?
- Posted by OtterDad <otter at full-mo?n.?om> Oct 09, 2007
- 589 views
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
2. Re: Screen Saver Running?
- Posted by Matt Lewis <matthewwalkerlewis at gmail?c?m> Oct 09, 2007
- 597 views
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