Re: [AD] Disable screensaver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Sadly no. I do remember seeing such code however. Maybe it's in the
archives here?

On Fri, Oct 31, 2008 at 11:28 AM, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> 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 :{)>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>



-- 
Note: No trees were killed in the sending of this message, but a large
number of electrons were terribly inconvenienced.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/