Introduction - If you have any usage issues, please Google them yourself
When vc + + to get the color of the specified pixel, as shown in the demo screenshot, users can use the left mouse button click on the picture of a place, the picture will be on the right side to the point of a solid color fill rectangle. Implementation through the function COLORREF CDC :: GetPixel (int x, int y) can be color specified point, the parameters x, y coordinates of the specified point.