views:

326

answers:

2

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.

+1  A: 

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
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
A: 

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

mauro.dec