Setting brightness and contrast of the Windows Form
Posted on 2008-11-14
I'm working on an application, where the user has a requirement to set the brightness / contrast of the screen to arbitrary settings (day/night mode), we used an external program until now, but it's not a reliable solution (DarkFix.exe).
My idea is to somehow catch the form paint event when the form has the screen image in a bitmap (we already use doublebuffering), use a brightness/contrast filter on it, and then give it back to the painting routine. It is possible?
Or can I set the display somehow?
Any solutions for this problem?
.NET 2.0, C#
Thanks in advance