防止通过键盘或鼠标打开显示器 [英] prevent monitor getting turn on by key board or mouse

查看:79
本文介绍了防止通过键盘或鼠标打开显示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,
我尝试使用sendMessage关闭监视器.
但是只要触摸鼠标或按下任意键,它就会重新打开.
有没有办法在它们之间捕获这些鼠标/键盘事件,并防止打开显示器电源.我可以做一个特殊的组合,例如alt + a或其他任何东西,仅在按下时,监视器才会打开,否则它将保持关闭状态.如果有办法,请告诉我.

Dear Friends,
I tried turning off monitor using sendMessage.
but whenever a mouse is touched or any key is pressed it will turn back on.
Is there a way to trap these mouse/keyboard events in between and prevent turning on monitor back. I can make a special combination like alt+a or whatever when pressed only then monitor will get turn on other wise will remain off. If there a way around please show me.

推荐答案

我看不出有足够的理由要这样做,但我可以看到几个恶意的理由.

如果您有充分的理由这样做,但又不知道该怎么做,那么您目前的工作是什么?
I can see no good reason to want to do this, but I can see several malicious ones.

If you have a good reason to do this, but do not know how to, what are you doing in your current job?


这篇关于防止通过键盘或鼠标打开显示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆