Solved

Running windows default screen saver?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ddeman not working in activex 3 103
LAN or WAN ? 11 90
PHP preg_replace code convert to Delphi 14 55
Twebbrowser add css to the header 3 25
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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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…

770 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