Windows: How to change monitor's backlight bri

2019-02-22 04:13发布

Ever since I've been using an external monitor with my laptop, when I need to change the backlight brightness I have to press the monitor's buttons to navigate through its menu and adjust the brightness.
That is really a pain. It's too many button presses! When I was using my laptop's integrated monitor, that was as simple as presing the Fn key plus a combination.

Probably some of you might think it is not possible to change that programmatically. I thought that too. But I've just found a control (a GUI control) in my video card configuration that does exactly that.
So, that proves it is possible to change this programmatically.

But I can't find any tool or utility that does that. All what I've found are tools that adjust gamma, brightness and contrast. But backlight brightness is a different thing.

Does any of you know how to adjust that damn thing programmatically in Windows?

4条回答
可以哭但决不认输i
2楼-- · 2019-02-22 04:35

If you have an NVidia card with the control panel installed, you should have a brightness control on the Adjust desktop color settings node.

查看更多
戒情不戒烟
3楼-- · 2019-02-22 04:46

Let's try that again. There is a SetMonitorBrightness function, but it is only available starting with Vista. There is also IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS which is available starting with XP SP1. I might give that a try on my laptop just out of curiosity.

查看更多
劫难
4楼-- · 2019-02-22 04:58

There are a couple of tools that let you set the backlight brightness:

The latter uses a custom library which they offer commercially and supports most popular programming languages in Windows. http://www.nicomsoft.com/products/i2c/

查看更多
再贱就再见
5楼-- · 2019-02-22 05:01

I know this question is about Windows, but if anyone is looking for the Linux way to do this you can run the "xbacklight" program, for example: "xbacklight -set 100" to set to 100% (full) brightness. The source code to this program could be used to embed it into a program.

查看更多
登录 后发表回答