I've been trying to retrieve the color of a pixel on a sprite by using GetPixel_(hdc,x,y) but to no avail. I guess the problem is to get the correct dc for the sprite. This is what i've been doing (wrong, probably) :
Code: Select all
hDC = GetDC_(sprite_id)
color = GetPixel_(hDC,50,30)
Thanks in advance,
Pythagoras