Solved

Running windows default screen saver?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

17 Experts available now in Live!

Get 1:1 Help Now