Win32 Bitmaps Screen Saver | CodeGuru

Win32 Bitmaps Screen Saver

Environment: Windows NT 4, Visual C++ 5, Win32 SDK This article demonstrates the development of screen saver using Win32 SDK. This article is very simple. It has 3 routines which are called by Windows 95 during screen saver activation. The first one is where we set up our timer and display a series of bitmaps […]

Written By
CodeGuru Staff
CodeGuru Staff
Jan 22, 2000
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Environment: Windows NT 4, Visual C++ 5, Win32 SDK

This article demonstrates the development of screen saver using Win32 SDK. This
article is very simple. It has 3 routines which are called by Windows 95 during
screen saver activation. The first one is where we set up our timer and display
a series of bitmaps one by one every 7 seconds. The source code is provided along
with comments.

It is very simple. It explains how to load the bitmap BMP file format into the memory
and how to manipulate them using the Win32 APIs. I have used straightforward method to
allocate and display the bitmaps to the screen. Kindly go through them and provide me
with your questions and suggestions.

To use the screen saver first create a folder called C:Screen. Then put all your
wonderful bitmaps in this folder. Then activate the Bitmap Screen Saver using control
panel. First you must have the SCREEN.SCR file in the Windows folder. Then use Control
Panel to change the Display settings.

I have a bunch of software utilities in my web site at http://members.xoom.com/vinoj/
which can be visited at your liesure and software can be downloaded. To get the source
codes write to my e-mail address. Here I have provided complete source code for my
screen saver.

Downloads

Download Bitmaps Screen Saver – 15 Kb

Download source code for Bitmaps Screen Saver – 4 Kb

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.