How to launch a random screensaver from a randomizer screensaver?
From: WeiserWare (weiserware_at_yahoo.com)
Date: 02/19/05
- Next message: Gary Chanson: "Re: Getting messages from the mouse horizontal tilt wheel"
- Previous message: Don Jordan: "Re: Getting messages from the mouse horizontal tilt wheel"
- Next in thread: Severian: "Re: How to launch a random screensaver from a randomizer screensaver?"
- Reply: Severian: "Re: How to launch a random screensaver from a randomizer screensaver?"
- Messages sorted by: [ date ] [ thread ]
Date: 18 Feb 2005 21:12:32 -0800
Hi,
I want to write a screensaver that when it launches, runs a randomly
selected screensaver (ie. a randomizer). I have got such a
screensaver working which works fine when run manually, but when the
screensaver is invoked by Windows after a period of inactivity, the
random screensaver is not shown (on Windows XP). I have read lots of
stuff about secure desktops and jobs that terminate their child
processes when they terminate, but haven't found an answer to this
problem.
I am using CreateProcess to launch the screensaver (when I receive a
WM_CREATE message), then terminating the launcher screensaver with
PostQuitMessage(0). If I don't terminate the launcher screensaver,
then the random screensaver doesn't appear, even if run manually.
I have tried different creation flags in CreateProcess but none make
any difference.
I know this is possible, becuase there are screensaver randomizer
products out there that work. Does anybody know the trick to writing a
screensaver randomizer?
- Andrew
- Next message: Gary Chanson: "Re: Getting messages from the mouse horizontal tilt wheel"
- Previous message: Don Jordan: "Re: Getting messages from the mouse horizontal tilt wheel"
- Next in thread: Severian: "Re: How to launch a random screensaver from a randomizer screensaver?"
- Reply: Severian: "Re: How to launch a random screensaver from a randomizer screensaver?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|