Has anyone seen, designed or used code that will pick an RGB color from and X Y location on the screen ? I have had a look around but cannot find any obvious way to do this.
GetPixel Function
http://msdn.microsoft.com/en-us/library/dd144909(VS.85).aspx
Be sure to get the screen DC:
invoke GetDC,NULL ; get screen DC
mov hScreenDC, eax
invoke GetPixel,eax,0,0
push eax ; push the color
invoke ReleaseDC,NULL,hScreenDC
pop eax ; pop the color
Gratsie. :U
Or access the pixel directly from the memory bitmap.