Solved

Running windows default screen saver?

Posted on 1997-08-29
2
137 Views
Last Modified: 2010-04-06
Hi!
How can I running windows default screen saver with delphi 2.0 at WIN95 and WINNT?
I used WM_SYSCOMMAND with SC_SCREENSAVE at WINNT and it didn't working. Help me!!
0
Comment
Question by:rnxotj
2 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 20 total points
ID: 1342906
Hi rnxotj,

Try this, it worked on my WINNT :

 PostMessage(Form1.Handle,WM_SYSCOMMAND, SC_SCREENSAVE, 0);

Have fun,
Have a nice weekend,
c.u. ZifNab;


0
 

Author Comment

by:rnxotj
ID: 1342907
Thanks! ZifNab.
It works well both win95 and winnt.

Have a nice day...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now