Changing screen brightness programmingly


Version: 1.00
Size:
11KB
Requirements:
Visual C++ 6.0 or higher
Seller:
NirSoft
Price:
Free
System:
Windows 2003/XP/2000/98/Me/NT
Rating:
4.5
License:
Freeware

Description - Changing screen brightness programmingly



Changing the screen brightness programmingly - By using the Gamma Ramp API Some video cards allows you to programmingly modify the Gamma Ramp values. You can use this feature to change the brightness of the entire screen. The SetDeviceGammaRamp API function receive an array of 256 RGB values. Increasing the values in this array will make your screen brighter, and decreasing these values will make your screen darker. You can also increase or decrease the intesity of the red/green/blue components. For example: Increasing the blue component in all RGB values will add more blue color to the entire display. The following class encapsulates the calls to GetDeviceGammaRamp and SetDeviceGammaRamp, and provides the SetBrightness function for setting the brightness of the screen



More in Source Code-Changing screen brightness programmingly

Values Will Screen Brightness