How do u get the color of the pixel your mouse is pointing at?
I don't need it converted or anything, Just how to get the hex or whatever value(s) it returns.
Printable View
How do u get the color of the pixel your mouse is pointing at?
I don't need it converted or anything, Just how to get the hex or whatever value(s) it returns.
Use the GetPixel API.
When using the getpixel api.. i have to specify an hDc ..
I want to be able to select any color from anywhere on my screen that i point to. Whether it be an icon, or a background image on the desktop or a picture in a browser.. anywhere.
me.hDc allows for u to pick the color from anywhere on the form.
but is there a way i can pick the color from anywhere.