 |
 |
Testing... |
 |
|
 |
Main Menu |
 |
|
 |
Topics |
 |
|
 |
Voice Over IP |
 |
|
 |
Last 10 Articles... |
 |
|
 |
Search this site |
 |
|
|  |
 |
This blog is no longer updated.
Since I own the domain name for a couple more years, and the hosting was paid-in-advance, it's still here. But I've moved on to Hawaii, and no longer have the need to publish all the sorts of neat stuff that made up the contents of this website.
If you've linked to me, you are invited to unlink, as your readers will no longer be presented with new content. Thanks, Steve
Make your own screensaver
Tuesday, September 27, 2005 : Stephen D. Carroll, rokus.net
|
|
Found this in a book that's been sitting in my office for three or four years...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 recognize 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.
...something tells me I'm going to be wasting a *lot* of time with this.
|
|
Permalink | Mail this...
|
|
| Make your own screensaver | Login/Create an account | 0 Comments |
|
| | Comments are owned by the poster. We aren't responsible for their content. |
|  |
 |
|
|