1. Screensaver
- Posted by Renzo Beggia <renzo.beggia at VSK.BE> Oct 19, 2000
- 468 views
Does anyone know how to activate or deactivate a Windows screensaver using EUPHORIA ( i am using Win32Lib) Thanks in advance Renzo Beggia from Belgium
2. Re: Screensaver
- Posted by Brian Broker <bkb at CNW.COM> Oct 19, 2000
- 449 views
On Thu, 19 Oct 2000 12:24:20 -0400, Renzo Beggia wrote: >Does anyone know how to activate or deactivate a Windows screensaver using >EUPHORIA ( i am using Win32Lib) From http://www.wotsit.org/ : Windows .SCR screen savers ~~~~~~~~~~~~~~~~~~~~~~~~~~ SCR files are nothing more complex than .EXE files with the extension SCR. Windows calls the .SCR file with two command-line options: /s to launch the screensaver /c to configure the screensaver For the windows control panel to recognise the screensaver, the program's module description string must begin with SCRNSAVE: (in uppercase). So, if writing a Visual Basic screensaver, simply set the application title to something like "SCRNSAVE:Test Screensaver" To create a new screen saver simply write a program that checks the command-line option when starting and performs the appropriate action. The display should use a full-screen window (usually with a black background) and should end when any key is pressed or when the mouse is moved. When the program is compiled, rename the .EXE to .SCR and put it into the Windows directory so it can be found by the screensaver selection dialog in Windows. Happy screensaving! ----------------------------------------------------------------- Paul Oliver with thanks to Michael Poxon. 8th December 1996
3. Re: Screensaver
- Posted by Brian Broker <bkb at CNW.COM> Oct 19, 2000
- 457 views
On Thu, 19 Oct 2000 14:18:10 -0400, I wrote: Forgot to mention, you don't need to worry about this part: >For the windows control panel to recognise the screensaver, the program's >module description string must begin with SCRNSAVE: (in uppercase). So, if >writing a Visual Basic screensaver, simply set the application title to >something like "SCRNSAVE:Test Screensaver" Just rename your .exe to .scr and put it where your other .scr files are; and if you have adjustable parameters, just use 'commandline()' and make sure your program knows how to deal with the /s and /c command-line parameters. -- Brian
4. Re: Screensaver
- Posted by mic _ <stabmaster_ at HOTMAIL.COM> Oct 21, 2000
- 469 views
Maybe I'm wrong here but I think what Renzo wants to know is how to start a screensaver from a program, not how to write his own screensaver. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.