SDL win32 screen saver

Hi,
does anybody have a screen saver source implementing a win32 screen saver?

Many thanks!

elhja

heya elhja,

i believe any .exe file can be used as a screen saver as long as it quits on
a keypress or asks for a password on a keypress (so that it actualy works as
a screen saver).> ----- Original Message -----

From: elhja@katamail.com (elhja)
To:
Sent: Thursday, December 16, 2004 7:30 AM
Subject: [SDL] SDL win32 screen saver

Hi,
does anybody have a screen saver source implementing a win32 screen saver?

Many thanks!

elhja


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

elhja wrote:

Hi,
does anybody have a screen saver source implementing a win32 screen saver?

Many thanks!

http://kassoulet.no-ip.org/misc/SDL_TunnelSaver-win32.zip

Gautier Portet wrote:

elhja wrote:

Hi,
does anybody have a screen saver source implementing a win32
screen saver?

Many thanks!

http://kassoulet.no-ip.org/misc/SDL_TunnelSaver-win32.zip

woups, sorry, the source is not in the archive :confused:
anyway, a screensaver is a regular .exe, windows will pass some
arguments to it:

/S (or nothing) -> display the screensaver, quit on
SDL_MOUSEMOTION, SDL_MOUSEBUTTONDOWN, and
SDL_KEYDOWN

/C -> Display the configuration window (if you want one)

/P window_handle -> display the small preview window, using the given
window handle (I have not succeded displaying this
will SDL, I will investigate more later)

Gautier

http://kassoulet.no-ip.org/misc/SDL_TunnelSaver-win32.zip

woups, sorry, the source is not in the archive :confused:
anyway, a screensaver is a regular .exe, windows will pass some
arguments to it:

/S (or nothing) -> display the screensaver, quit on
SDL_MOUSEMOTION, SDL_MOUSEBUTTONDOWN, and
SDL_KEYDOWN

/C -> Display the configuration window (if you want one)

/P window_handle -> display the small preview window, using the given
window handle (I have not succeded displaying this
will SDL, I will investigate more later)

Gautier
Hello!
There was no source in the archive, but searching with google i’ve found
it at: http://impulse.free.fr/kassoulet/TunnelSaver-win32.zip

Thank again!!

elhja

heya elhja,

i believe any .exe file can be used as a screen saver as long as it quits on
a keypress or asks for a password on a keypress (so that it actualy works as
a screen saver).

…well I think you’re right!
Looking at the sources “scrnsave.h” isn’t include.

I am confused!
Why there’s no need to intercept Windows Manager calls?

I have to read more on the problem… :wink:

elhja