This method retrieves the RGB color value of the pixel at the point specified by x and y.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
COLORREF GetPixel( int x, int y ) const;
COLORREF GetPixel( POINT point ) const;
CDC::GetDeviceCaps, CDC::SetPixel, CPoint