Solved

Screen Saver in Visual C++??

Posted on 1998-08-01
8
385 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

856 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