for(int y = 0; y < Rect_To_Compare.bottom; ++y) { for(int x = 0; x < Rect_To_Compare.right; ++x) { COLORREF Color = ::GetPixel(DlgDC, (x + Rect_To_Compare.left), (y + Rect_To_Compare.top) ); COLORREF ColorToCompare = ::GetPixel(BitmapDC,x,y); if(Color != ColorToCompare) { result = false; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)