Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

Delphi ScreenSaver VS Energy Saving for monitor

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
pasta
Asked:
pasta
  • 2
  • 2
  • 2
1 Solution
 
pastaAuthor Commented:
Edited text of question
0
 
pastaAuthor Commented:
Edited text of question
0
 
sperlingCommented:
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
Technology Partners: 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!

 
mheacockCommented:
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
 
sperlingCommented:
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
 
mheacockCommented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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