dcsimg

Win32 Bitmaps Screen Saver

WEBINAR:
On-Demand

Application Security Testing: An Integral Part of DevOps


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


About the Author

Vinoj Kumar

I have been programming for the past 16 years. I started programming in 1990. I came to Windows in 1993. I have authored a book called, "Classic Utilities Using Assembly Language" , 1995. In my free time I listen a lot to Kenny G sax all the albums and Valentine Classics Songs. I like to watch a lot of TinTin adventure Comics. I am currently working in K7 Computing antivirus company (www.k7computing.com) as Senior Technical Lead. My contact is: Phone: +91 944 411 7353

Comments

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Understand your options for workload automation. In this IT Central Station report, real Workload Automation (WLA) users discuss their experiences with WLA tools and the functionality they find most useful for meeting IT and business requirements.    Learn how you can:   • Extend the value of WLA through simple, cost-effective integration • Improve user productivity with templates, self-service, and unified visibility • Discover and resolve scheduling issues quickly …

  • We are in the middle of a computing revolution. All signs point to the rapid adoption of cloud computing as a means to facilitate not just changes in development methodologies, but changes to the very nature of IT architecture and maintenance.  But migrating to the cloud is not a simple matter. As with all disruptive technologies, any cloud migration initiative must be approached with caution, and based on a strategy that includes big-picture thinking with exacting attention to security issues. Read this …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.