Jump to content

ControlClick click at my mouse position


Recommended Posts

Hi,

I try to understand the ControlClick function. But when I use it, it click at my mouse position instead of the coordinates in my window and only when my mouse is over this window.

I know that my handle is the good one, and I checked the coords with the Window Info. 

AutoItSetOption("MouseCoordMode", 1)
Global $hwnd = WinGetHandle("[CLASS:GLFW30]")
ControlClick($hwnd, "", $hwnd, $button, 1, $x, $y) ; $vars are declared in my code

Any question or solution ? 

Edited by ConanGuy
Link to comment
Share on other sites

  • Moderators

So obviously you didn't bother to read the forum rules you were already pointed to, or you wouldn't have reposted the same exact question - did you really think you were being clever by just removing the reference to the game? 

I suggest you read the forum rules now before you post again. Our patience with this kind of stuff has its limits.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...