Great work TT(n)!

I do get a red squiggly at this line though :

Code:
apiSetDeviceGammaRamp(apiGetWindowDC(apiGetDesktopWindow), Ramp1(0, 0))
And it tells me that it cannot convert Short to Type RAMP

Coincidentally, That is the error I have been battling with the whole time, before I got to the code I had in post # 21