Question send mouse click

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
i am trying to click this button in a game launcher window. i can only get the handle of the window, no handle for the graphic button. I have tried using sendmessage and apimouse_event to send the mouse down and up to that location of the window but nothing happen. Any ideas?

i know sendmessage need the button handle for it to work so thats a bust. and apimouse_event, havent gotton it working on any window yet.
 
is there other way to send a mouse click then sendmessage or mouse_event? i am sure now neither one of those work on this launch window. I tried doing the mouse_event continuously and it click on other windows fine, but when i move the mouse over the launch window, nothing happen.
in fact, once the launch window is the top most window, everything stop working, the mouse_event wont click, the setcursorpos stop moving the cursor. but once its not the focus window again, setcursorpos move the cursor right over the button
 
Back
Top