wengang
Mar 1st, 2002, 01:17 PM
Hi.
I have a form with several objects moving around by timer.
when the objects have finished moving I want to know the color of the pixel at the 0,0 point of a certain picture box.
BUT, the reason I can't use GetPixel is:
I don't want it to necessarily return the color value in Picture1.
I only want that value to be returned if nothing is in front of Picture1. If another object is in front of picture1 at point 0,0 , want that color to be returned. So, in graphic terms, that means whatever color the user sees at that point on the screen, is the color info I want to collect.
Any thoughts?
Thanks
Wengang
I have a form with several objects moving around by timer.
when the objects have finished moving I want to know the color of the pixel at the 0,0 point of a certain picture box.
BUT, the reason I can't use GetPixel is:
I don't want it to necessarily return the color value in Picture1.
I only want that value to be returned if nothing is in front of Picture1. If another object is in front of picture1 at point 0,0 , want that color to be returned. So, in graphic terms, that means whatever color the user sees at that point on the screen, is the color info I want to collect.
Any thoughts?
Thanks
Wengang