I know how to get the colour of a certain pixel on the screen via:
HDC dc = GetDC(NULL); COLORREF color = GetPixel(dc, x, y);
However,