Solved

Keep monitor power off

Posted on 2002-06-09
6
328 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

719 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