Solved

Running windows default screen saver?

Posted on 1997-08-29
2
144 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
[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 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 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