How to Write a 32-Bit Screen Saver

ID: Q160960


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), used with:
    • Microsoft Windows NT, versions 3.51, 4.0
    • Microsoft Windows 98
  • Microsoft Windows 2000


SUMMARY

SSAVER demonstrates how to write a screen saver that runs under Windows 95 and Windows NT. It has been designed to be customized easily with your own animations. You can add your own screen saver configuration controls by modifying the configuration dialog resource and then adding the appropriate code to the ScreenSaverConfigureDialog() in SSAVER.C. You can change the animations that are produced by modifying the code in DOFRAME.C.


MORE INFORMATION

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

Ssaver.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

The following files are a part of the SSAVER sample:

  • DoFrame.h, DoFrame.C - Contains all of the functions and code for drawing frames in the screen saver animation.


  • SSaver.h, SSaver.c - Contains all the code for setting up the screen saver and processing both configuration and screen saver messages.


Additional query words:

Keywords : kbfile kbNTOS351 kbWinOS2000 kbSDKWin32 kbWinOS95 kbwin32sdkfaq
Version : WINDOWS:; winnt:3.51,4.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: December 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.