Solved

Screen Saver in Visual C++??

Posted on 1998-08-01
8
382 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:justinng
ID: 1169197
Where can I locate the article?
0
 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Configure a Local PHP Interpreter for Phpstorm 2 257
Eclipse Neon and jdk 1.8.0 11 201
eclipse compiler vs Installed JREs option 3 95
Path to  STL Map header file 1 58
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

777 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