-
August 21st, 2010, 04:25 PM
#1
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!!!!!!!
-
August 21st, 2010, 09:51 PM
#2
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?
-
August 24th, 2010, 03:41 AM
#3
Re: Detect Pixel color change
I don't think this violates the AUP at all...
BashMan, welcome to the forums
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|