|
-
Jul 6th, 2006, 10:32 PM
#1
Thread Starter
Addicted Member
color of pixel
I want to be able to find the color of the pixel at the mouse coordinate on a web browser control. then i want to be able to clik it,(example: hover over a green link, it sees its green, and automatically clicks).. ty very much if this can work
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
-
Jul 7th, 2006, 07:35 AM
#2
Re: color of pixel
Take a look at GetPixel API and mouse_event API at www.allapi.net
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Jul 7th, 2006, 07:48 AM
#3
Thread Starter
Addicted Member
Re: color of pixel
okay, i see that but it uses the mouse move event to find the color. a webbrowser control doesn't have a mouse move event.
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
-
Jul 8th, 2006, 09:00 AM
#4
Thread Starter
Addicted Member
Re: color of pixel
Is there a way to get the color of a pixel on the screen, no matter what control it is. It can be on the form say at 1000,1000. Plz help
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
-
Jul 8th, 2006, 09:15 AM
#5
Fanatic Member
Re: color of pixel
Use GetCursorPos API in a timer along with GetPixel API to get the pixel at the cursor's position.
Hope that helps!
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
|