0

I have a slide bar to adjust the brightness of the screen on notebook displays in my application, but I found those articles from internet are adjusting the Gamma value, the behavior is not really like pressing the special key in keyboard. Is there a way to do it? Thanks in advance.

Here is some links what I found.

Abhranil Das
  • 5,702
  • 6
  • 35
  • 42
Yigang Wu
  • 3,596
  • 5
  • 40
  • 54
  • 1
    Duplicate of http://stackoverflow.com/questions/373297/what-api-call-would-i-use-to-change-brightness-of-laptop-net – Sandeep Datta Aug 19 '09 at 11:34
  • `notebook` tag removed as part of the [2012 cleanup](http://meta.stackexchange.com/questions/128315/the-great-stack-overflow-tag-question-cleanup-of-2012). – Abhranil Das Apr 29 '12 at 19:38

2 Answers2

1

Very unikely that there is a way to do it with software - it's probably controlled by the laptops BIOS, which windows will not have hooks into.

UpTheCreek
  • 31,444
  • 34
  • 152
  • 221
  • If you're targeting a specific laptop platform, you might be able to interact with the mfg's driver or helper applications. But overall I agree with this statement. – Jeff Wilcox Aug 22 '09 at 02:03
0

If your app is for Linux you could see how the Screen Brightness applet works by looking at the code.

mauro.dec
  • 556
  • 1
  • 5
  • 9