• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Running windows default screen saver?

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
rnxotj
Asked:
rnxotj
1 Solution
 
ZifNabCommented:
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
 
rnxotjAuthor Commented:
Thanks! ZifNab.
It works well both win95 and winnt.

Have a nice day...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now