Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Keep monitor power off

Posted on 2002-06-09
6
Medium Priority
?
331 Views
Last Modified: 2013-12-03
Dear Sirs,

  is it possibble to turn off the monitor in Windows 2000 and KEEP IT OFFLINE even the mouse moves or a key is pressed during a period?

Note:
I can turn off the monitor using the following code, but on a mouse movement or when a key is pressed the monitor automatically goes on :-( And I don't want it...

The code is:

SendMessage( HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2 )

Regards
Aegressy
0
Comment
Question by:aegressy
[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
6 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7066155
>> is it possibble to turn off the monitor in Windows 2000 and KEEP IT OFFLINE even the mouse moves or
a key is pressed during a period?

Think the answer is "NO"

Through the software Power OFF is only for saving the power - Thats a windows feature. We can only the windows to power off the monitor.

I think, One thing you can do is making a hook and call the syscommand again in mouse actions. But I will not suggest this. Becoz this is not a direct way to do this.

Roshmon
0
 

Author Comment

by:aegressy
ID: 7068290
Hmm, or can I make a hook on syscommand SC_MONITORPOWER and restrict to complete the power on process. Do you think it is possibble?

Aegressy
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7069059
Its only a guess, I never tried.

Thats why I answered it as "NO"

Regards
Roshmon
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10786232
PAQed, with points refunded (75)

modulo
Community Support Moderator
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.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

636 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