home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4580 < prev    next >
Encoding:
Text File  |  1993-01-04  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!hexnut!blakeco
  3. From: blakeco@microsoft.com (Blake Coverett)
  4. Subject: Re: Screensaver wanted!
  5. Message-ID: <1993Jan04.171924.22524@microsoft.com>
  6. Date: 04 Jan 93 17:19:24 GMT
  7. Organization: Microsoft Canada Inc.
  8. References: <16B4A13B04.DRPORTER@SUVM.SYR.EDU>
  9. Lines: 33
  10.  
  11. In article <16B4A13B04.DRPORTER@SUVM.SYR.EDU> DRPORTER@SUVM.SYR.EDU (Brad Porter) writes:
  12. >Help!!!  Freeware or shareware that needs to be written!  Here's what's needed:
  13. >            A Windows screensaver, accessible through the Control Panel/Desktop
  14. >            area, that allows you to specify a program to run.  In other words,
  15. >            when I click setup I want to be able to input a command line just
  16. >            like when I click Run in the program manager.  There are numerous
  17. >            DOS screensavers, and I can write full-screen animations in VB,
  18. >            but none of these can be run through the Windows Screensaver
  19. >            area.  This can't be all that difficult to program if you're
  20. >            familiar with writing Windows screensavers, which I'm sure someone
  21. >            here is, but it would be invaluable in my opinion.
  22.  
  23. It sounds like you have VB, in that case you can make screen savers directly
  24. as long as you know a couple of tricks.  Those .SCR files are really just 
  25. Windows executables with a different name that obey a couple of standard rules.
  26.  
  27. Make the module description "SCRNSAVE : Your Title Here".
  28. (In VB you do this by setting the Application Title when you make the .EXE)
  29.  
  30. If your app is started with a "/s" switch display your saver.
  31.  
  32. If your app is started with "/c" display your configuration dialog.
  33.  
  34. Since you aren't using the SCRNSAVE.LIB that comes with the SDK you will
  35. need to manage exiting and passwords yourself.
  36.  
  37. A section named [ScreenSaver.Your Title Here] in control.ini is the customary
  38. place to store your configuration info.
  39.  
  40. -Blake
  41. -- 
  42. #include <std/disclaimer.h>                       blakeco@microsoft.com
  43. Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
  44.