>>>I used thisform.point to return pixel at 50,50 on a form that is 100,100. If I place a window from a different program over the vfp form covering the pixel at 50,50.... thisform.point returns -1 as if the pixel at 50,50 is no longer there. Is there any way to change this behavior?
>>
>>Joe,
>>Are you trying to get pixel colors? You can use this code to get color from anywhere on screen:
>
>Yes I want the pixel color of the vfp form. Not the whole screen. It seems that thisform.point only works if the form is not under a different window?
Joe,
I sent you code that does that via winAPI. I don't know how point method does it. I remember I tried it years ago and wasn't satisfied.
(I didn't mean whole screen but any where on screen, where ever you move your mouse to, even on a second,third monitor and need not be a VFP form - better try running to see what I meant).
Cetin