how to mouse click on an image on a running IE instance programmatically from windows form app
- by mike_jik
I want to create a windows app that does the following.
When a button is clicked,
Find a running instance of IE (which I was able to get a handle using FindWindow api (user32.dll))
Send message to windows OS to mouse click on the image in IE. I already know that there is an image on the page. -- this is where I need help!! thanks.
How do I get a image object in html from windows app when I have a handle?
I've tried user32.dll (mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo)) but I can't find correct x and y for the image in the page.