Im working on a program right now where I have the need to make a function that when feed the x,y coords of a certain pixel on the screen spits out the RGB number of that pixel. The pixels will lie outside the program so I cant use functions attached to my Forms controls (i.e. find out the pixel is part of a button and use btnStart.get_BackColor()).
Im using J# .NET, and cant really find anything on MSDN or online that deals with this sort of problem (maybe Im no good at researching). I thought of using a colorpicker dialog, similar to the eyedropper on Photoshop, but cant find one (didnt they have one in Visual J++?), or even PrintScreen and enumerating through the pixels until I get to the one I want, but cant figure out a way to do a screen capture (SendKeys.Send("{PRTSC}") is not yet implemented). As you can tell I dont need an elegant solution, Im a hardcore hacker at heart. Thanks in advance, this would really help me out a lot.
Im using J# .NET, and cant really find anything on MSDN or online that deals with this sort of problem (maybe Im no good at researching). I thought of using a colorpicker dialog, similar to the eyedropper on Photoshop, but cant find one (didnt they have one in Visual J++?), or even PrintScreen and enumerating through the pixels until I get to the one I want, but cant figure out a way to do a screen capture (SendKeys.Send("{PRTSC}") is not yet implemented). As you can tell I dont need an elegant solution, Im a hardcore hacker at heart. Thanks in advance, this would really help me out a lot.