?
Solved

Screen Saver

Posted on 1998-08-16
5
Medium Priority
?
336 Views
Last Modified: 2010-04-04
I want to create a screen saver that will show bitmaps.

How can I create this?  (I'm working with Delphi3).
0
Comment
Question by:tktk
[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
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:inter
ID: 1335943
Hi,
IN ITS SIMPLE FORM screen saver is just a trivial exe program with some requirements. Example:

1 - Open a new project. Add TImage (say Image1) to it. Clear the caption of the form and clean the System Menu Items set. Set form to show windows as wsMaximized(and do other cosmetic), set always on top etc...
2 - add the following to the MouseMove, MouseClick, KeyUp events
begin
  Close;
end;
3 - In formshow do the following
begin
   Image1.Picture.LoadFromFile('MYBITMAP');
end;
4 - Compile the project and rename the executable from .exe to .scr. And copy it to 'windows\system'.(or winnt\system32')

This the dump way of doing screen saver. However,actually there are several specialties about the screen savers(for example preview). If you want such a thing then give me your email and I'll send you a screen saver source...
Regards,
Igor
0
 
LVL 4

Expert Comment

by:d003303
ID: 1335944
Take a look at my PAQ
http://www.experts-exchange.com/topics/comp/lang/delphi/Q.10053332
wich includes a complete description of a screensaver and a sample screen saver source.

Slash/d003303
0
 

Author Comment

by:tktk
ID: 1335945
my email is:

talklein@ort.org.il

please send me your screen saver source.

0
 
LVL 4

Accepted Solution

by:
d003303 earned 800 total points
ID: 1335946
Yo,
I sent you the sources. Copy ssaverform.pas into your link path and add it to your form repository.
Take a look at the sample (rest of the files). The magic lies in ssaverform.pas and saver1, the project source.
To implement your screen saver on that framework, change the configuration form and add a changing image to the saver form, changing with the timer events.

Have fun,
Slash/d003303
0
 

Author Comment

by:tktk
ID: 1335947
thank you very much!
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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