SS A Screen Saver Utility For Windows 3.0 Version 1.1 November 2,1990 Copyright 1990 Tom Wheeler The programs and documentation contained herein are hereby placed in the public domain. You may use any portion of this material as you see fit for your own personal use provided no part of anything contained herein is used or distributed commercially. This material may not be distributed unless all modules listed below are included in the final distributed version: LIBENTRY ASM 2481 11-02-90 9:21p README TXT 3673 11-02-90 10:44p SAVE BMP 8310 11-01-90 9:59p SS C 19523 11-02-90 10:34p SS DEF 413 10-12-90 7:16p SS DLG 1556 11-02-90 10:31p SS EXE 24576 11-02-90 10:35p SS H 1231 11-02-90 7:34p SS ICO 766 10-13-90 11:33a SS RC 926 11-02-90 6:17p SSHOOK C 4828 11-02-90 9:16p SSHOOK DEF 331 11-02-90 9:21p SSHOOK DLL 3584 11-02-90 9:30p SSHOOK RC 973 10-11-90 8:42p No claim of suitability of use is made for these programs. The user is solely responsible to determine whether or not these programs perform properly on any given computer system. The use of this program is quite simple. Execute the program "SS.EXE" by any means desired from within Windows 3.0. Make sure that the dynamic link library "SSHOOK.DLL" is available in the directory the program is being executed from or that it is placed in a directory that can be located with the "PATH" environment variable. The program initializes as an Icon and cannot be maximized. Click on the Icon to select its system menu and choose the "Time" menu option to set the Activation Time of the Screen Saver. The Activation Time is initialized to 10 minutes the first time the program is run. Enter the desired Activation Time and click "Save" to permanently save this value or "Cancel" to abort. This value will be recorded in your "Win.Ini" Windows initialization file and will be used every time that "SS" is run until changed again. "SS" detects keystrokes and mouse movements. If "SS" detects that no keys have been pressed or that the mouse has not moved within the period of time defined by the Activation Time, the screen will blank and a graphic icon will be randomly moved around the screen until either a key is pressed, the mouse is moved, or a mouse button is clicked. "SS" cannot detect keystrokes entered in a DOS application running under Windows so it is possible that the screen will be blanked if you are running a DOS application in a Window. Full screen DOS applications do not experience this problem. This program was written as an experiment to try out various Windows functions, primarily the use of the SetWindowsHook function, bitmap manipulation, and the creation of a DLL (dynamic link library). The make scripts were generated using the PWB (Programmers Work Bench) included with Microsoft C 6.0. The program was compiled and linked with Microsoft C 6.0 and Link 5.1. I hope you enjoy using this program and find some of its code instructional. I would appreciate hearing your comments/suggestions. I can be reached on CompuServe at [72037,1742].