How to Write a 32-Bit Screen Saver |
Q160960
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), used with:
- Microsoft Windows NT Server versions 3.51, 4.0
- Microsoft Windows NT Workstation versions 3.51, 4.0
- Microsoft Windows 98
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Professional
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:
For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.
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 kbOSWinNT351 kbOSWin2000 kbSDKWin32 kbOSWin95 kbwin32sdkfaq
Issue type :
Technology : kbAudDeveloper kbWin32sSearch kbWin32API
Last Reviewed: October 21, 2000 |