Solved

Screen Saver

Posted on 1998-08-16
5
331 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
  • 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 200 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 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