🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2462

Re: Screensaver wanted!

#2462
From: Blake Coverett
Date: Mon, 04 Jan 1993 17:19
33 lines
2148 bytes
In article <16B4A13B04.DRPORTER@SUVM.SYR.EDU> DRPORTER@SUVM.SYR.EDU (Brad Porter) writes:
>Help!!!  Freeware or shareware that needs to be written!  Here's what's needed:
>            A Windows screensaver, accessible through the Control Panel/Desktop
>            area, that allows you to specify a program to run.  In other words,
>            when I click setup I want to be able to input a command line just
>            like when I click Run in the program manager.  There are numerous
>            DOS screensavers, and I can write full-screen animations in VB,
>            but none of these can be run through the Windows Screensaver
>            area.  This can't be all that difficult to program if you're
>            familiar with writing Windows screensavers, which I'm sure someone
>            here is, but it would be invaluable in my opinion.

It sounds like you have VB, in that case you can make screen savers directly
as long as you know a couple of tricks.  Those .SCR files are really just 
Windows executables with a different name that obey a couple of standard rules.

Make the module description "SCRNSAVE : Your Title Here".
(In VB you do this by setting the Application Title when you make the .EXE)

If your app is started with a "/s" switch display your saver.

If your app is started with "/c" display your configuration dialog.

Since you aren't using the SCRNSAVE.LIB that comes with the SDK you will
need to manage exiting and passwords yourself.

A section named [ScreenSaver.Your Title Here] in control.ini is the customary
place to store your configuration info.

-Blake
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
Technical Details
Message-ID: <1993Jan04.171924.22524@microsoft.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!blakeco
References: <16B4A13B04.DRPORTER@SUVM.SYR.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!blakeco
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: Screensaver wanted!
Message-ID: <1993Jan04.171924.22524@microsoft.com>
Date: 04 Jan 93 17:19:24 GMT
Organization: Microsoft Canada Inc.
References: <16B4A13B04.DRPORTER@SUVM.SYR.EDU>
Lines: 33