• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Keep monitor power off

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
aegressy
Asked:
aegressy
  • 2
1 Solution
 
Roshan DavisCommented:
>> 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
 
aegressyAuthor Commented:
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
 
Roshan DavisCommented:
Its only a guess, I never tried.

Thats why I answered it as "NO"

Regards
Roshmon
0
 
moduloCommented:
PAQed, with points refunded (75)

modulo
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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