Jump to content

Control under mouse?


 Share

Recommended Posts

I did something similar with this... which detects what control was clicked.

Main idea:

Use WinGetClassList to get listing of controls.... call ControlGetPos on each control and compare to mouse position...

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Wow I didn't know it was possible. I guess it's cause those are one of the few functions I havn't used. You can create a function

Like

While 1

_GetControl

WEnd

Func _GetControl

Wingetclasslist

blah blah blah

If something goes over mouse

Confirm with mouse position

show info in window

endif

End Func

Edit:Instead of writing something I just put in descriptions.

Edited by Agent Smith
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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