Solved

Screen Saver in Visual C++??

Posted on 1998-08-01
8
375 Views
Last Modified: 2013-12-14
Is it possible to write a screensaver in Microsoft Visual C++ 5.0??? If so how can I about doing so??? How is a
screensaver written?? Please provide me with some guidelines on how should I go about writing a screensaver or if possible please recommend me some reference books which I can read up myself.

Any help offered is very much appreciated!
0
Comment
Question by:justinng
8 Comments
 
LVL 4

Expert Comment

by:erajoj
ID: 1169194
Hi,
Of course it's possible!
Download ftp://ftp.microsoft.com/softlib/mslfiles/SSAVER.EXE
It is a simple screensaver and you'll get the basics from it.

/// John
0
 

Author Comment

by:justinng
ID: 1169195
I've obtained the file, but however I still don't comprehand the basic idea of writing a screen saver in Visual C++.
0
 
LVL 4

Expert Comment

by:agreen
ID: 1169196
Read the "Creating 32-Bit Screen Savers with Visual C++ and MFC" MSDN's article.
There you can find a sample code.
0
 

Author Comment

by:justinng
ID: 1169197
Where can I locate the article?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 8

Expert Comment

by:trestan
ID: 1169198
Pls read this article about Screen Saver Library:
http://www.microsoft.com/msdn/sdk/inetsdk/help/itt/shell/scrnsave.htm
There is also an example come with the VC5:
Visual C++ -> Visual C++ Samples -> SDK Samples -> SDK tool Samples -> scrnszve:Screen Saver
0
 

Author Comment

by:justinng
ID: 1169199
I had a better knowledge now... but when come to practical, I'm stuck. Can I start writing the screensaver using MFC AppWizard (EXE), a dialog-based program??? If not, how should I go about doing it?
0
 
LVL 8

Accepted Solution

by:
trestan earned 50 total points
ID: 1169200
Pls take a detailed look at the information provided. At the beginning, I think you can create win32 application at first. Do not use MFC. If you want to control panel to start it, rename the .exe to ,.scr. Refer to Screen Saver Library in online help for detailed information. Or use the sample to start.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1169201
There is an MFC screen saver sample "SAVER: Screen Saver" that comes with Visual C++.

Also,
http://www.codeguru.com/misc/DlgScrSaver.shtml
http://www.codeguru.com/misc/mfcsaver.shtml

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now