Solved

Screen Saver in Visual C++??

Posted on 1998-08-01
8
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

695 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