Re: [AD] Disable screensaver |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Disable screensaver
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Fri, 31 Oct 2008 09:28:03 -0600 (MDT)
On Fri, October 31, 2008 6:56 am, Miquel 'Fire' Burns said:
> Actually, I know there's a way to disable the screensaver without
> screwing up the user's settings. There's a message that is sent to
> all
> the programs when Windows decides to turn on the screensaver, and
> even
> one (same or different, I don't know) to turn off the monitor, and a
> certain response will stop the screensaver from activating.
>
> And if the program crashes badly enough that it's shutdown routines
> fail to run (power outage being the best example), then the
> screensaver will remain in tack.
Do you have any more details? The most likely candidate I found was
WM_APPCOMMAND but the docs don't mention anything about
screensavers.
Trent :{)>