Solved

Delphi ScreenSaver VS Energy Saving for monitor

Posted on 1997-03-17
6
296 Views
Last Modified: 2010-05-18
What code should I insert in my Delphi screen saver program to keep it compatible with Energy Saving monitors (GREEN monitors)?

I made a screen saver that working well but it desactivate that monitor function...
0
Comment
Question by:pasta
[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
  • 2
  • 2
6 Comments
 

Author Comment

by:pasta
ID: 1334886
Edited text of question
0
 

Author Comment

by:pasta
ID: 1334887
Edited text of question
0
 
LVL 3

Expert Comment

by:sperling
ID: 1334888
Shouldn't be necessarry?

Is your screen saver doing something besides displaying graphics? E.g, does it have edit-boxes, buttons and so on? Does it create/destroy windows? Try creating a screen saver that does nothing, and see if the problem persists.


Regards,

Erik.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Accepted Solution

by:
mheacock earned 50 total points
ID: 1334889
Windows controls this functionality.  You might be able to interface with it directly, but you shouldn't need to.  As long as the keyboard and mouse haven't moved for a certain length of time, the energy saving feature will always be 'run' by Win95.
0
 
LVL 3

Expert Comment

by:sperling
ID: 1334890
Not necessarily correct. It is not very difficult to make a screen-saver that prevents the energy saving features from being enabled, no matter whether you use the mouse/keyboard or not.
And, as the question implies, this is exactly what the asker has done.

Regards,

Erik
0
 
LVL 3

Expert Comment

by:mheacock
ID: 1334891
The _SetSystemPowerState_ API command may be what you are looking for.  I'm not positive it will work with monitors with energy saving features, but the desciption they give in my API book seems to suggest that when executed, certain Energy Saving messages are broadcast to all drivers.  I would suspect that video drivers would receive the message too.

Experiment with it and see if it will do what you want.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 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…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month4 days, 3 hours left to enroll

630 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