Saturday, May 22, 2010

How can I read acolor layer from screen in c++.net language?

I'm programer

How can I read acolor layer from screen in c++.net language?
A little bit ambiguous...You want to write a "color picker"? Then API is your only way...:D... Beware also at the color "depth" conversion...
Reply:you want to read the color layer? I'm not even sure what a color layer is... i'm guessing you want to get the color of a control and use it to draw something somewhere else? Need more info to answer this question... but any windows control has set/get properties for the colors used on it, just access those properties and copy them into a Color() object.
Reply:What exactly do you mean by "color layer"? It's hard to offer much in the way of an answer when the question itself is so ambiguous.





Rawlyn.


No comments:

Post a Comment