Detect Pixel color change
--------------------------------------------------------------------------------
I'm trying to figure out some simple code to detect when a single pixel changes color at a location I choose -anywhere- on the screen (ex. 100,100). Maybe with just a msgbox popup when it changes.
The visual basic program will just be hidden and running in the background.
I should be able program the rest of the program around it, I just need the detection part. That is where I am stumped.
Any help would be greatly appreciated!!!
I'm using Visual Basic 2008
Thanks in advance!!!!!!!
Re: Detect Pixel color change
Depends on what's on the screen. DirectX draws directly from memory, so it's harder to do.
Most of the time, it's not for nice purposes, and is against the AUP.
Why hide the program?
Re: Detect Pixel color change
I don't think this violates the AUP at all...
BashMan, welcome to the forums :wave:
Have you tried using the GetPixel API. You could perhaps use it in a timer to check the colour of the pixel, and once it changes - the colours don't compare - then pop up a messagebox or something? Does that sound like a plan?