Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delphi ScreenSaver VS Energy Saving for monitor

Posted on 1997-03-17
6
Medium Priority
?
297 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 3

Accepted Solution

by:
mheacock earned 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

715 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