调暗辅助监视器
有谁知道一种在保持主显示屏完全明亮的同时使辅助显示器变暗的编程方法?我研究了一些现有的软件,但大多数只会调暗所有显示器(或仅主显示器)。我觉得这可能是 Windows 注册表修改。 (这适用于 Windows 7 平台)即使有人可以向我指出可以修改屏幕亮度级别的注册表项。我认为这是在操作系统中处理的,而不总是在显示器本身中处理的。
非常感谢任何和所有的帮助!
Does anyone know a programmatic way of dimming secondary monitors while keeping the primary display screen fully bright? I have investigated some existing software, but most will only dim all monitors (or only the primary one). I feel like this might be a windows registry modification perhaps. (This would be for the Windows 7 platform) Even if someone could point me towards registry entries that can be modified for screen brightness levels. I think this is handled in the OS and not always in the monitor itself.
Any and all help is greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
http://msdn.microsoft.com/en-us/library/ms775240.aspx
使用SetMonitorBrightness API。
http://msdn.microsoft.com/en-us/library/ms775240.aspx
Use the SetMonitorBrightness API.
这里最好的纯软件解决方案可能是为每个显示器创建一个无边框、分层的窗口,覆盖整个显示器,并将其背景颜色设置为 50% 不透明黑色。如何执行此操作取决于您使用的工具包:WPF? Win32? Qt?
Probably the best software-only solution here would be to create a borderless, layered window for each display, that covers the entire display, and set its background color to, say 50% opaque black. How you do this will depend on which toolkit you're using: WPF? Win32? Qt?
本·斯特劳布和我有同样的想法。我在 Visual Studio 2010 中使用 VB.NET 创建了这个,这可以帮助您入门吗?使用的一些代码来自 Codeproject 网站
Ben Straub had the same idea as me. I created this in Visual Studio 2010 with VB.NET which may get you started? Some code used from Codeproject website