I am wondering if anyone would be so kind to show me where I can download some MASM souce code for a program that can give the code to a color from a specified pixel. I would really appreciate it if anyone can be of some help...
Posted on 2001-04-28 18:34:00 by Mr. Ying
if i understood well, you need to get a pixel color. If so, a way to get a pixel color could be: 1. get DeviceContext handle of your application for this see Tutorial 25 of Iczelion site 2. call GetPixel API function, color returned in eax call GetPixel,backDC,XC,YC mov COLOR,eax
Posted on 2001-04-29 04:49:00 by angelo
Be careful, because in my experience (Win98) the GetPixel, SetPixel and SetPixelV only work on screen DC's.
Posted on 2001-04-29 05:49:00 by George