Jump to content

Control coords


AoRaToS
 Share

Recommended Posts

How can I get the mouse coords for the relative to the control it's on? Like the control click coords the info tool gives, I want to return the coords of the mouse over a treeview when the mouse left button is clicked:

If I use $Position = MouseGetPos() while Opt("MouseCoordMode",2) it doesn't work correctly unless the control is created at 0,0 of the GUI, I want the control coords the way the info tool gets them

s!mpL3 LAN Messenger

Current version 2.9.9.1 [04/07/2019]

s!mpL3 LAN Messenger.zip

s!mpL3

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...