JustinReno Posted September 30, 2007 Posted September 30, 2007 I was wondering, is there a function to get the coordinates of a GUICtrl? I looked in the help file and nothing helped.
tAKTelapis Posted September 30, 2007 Posted September 30, 2007 Elaborate further please. As in, you have made a GUI, and want the co-ordinates of a button on it? OR You have a GUI of another app, and want the co-ordinates of a control on it? If its the first one, the Co-Ords will be in your code. Not sure of any other way. If its the second, You can use the Au3 Active Window Info tool to find out, just place your cursor on it, and look at the Mouse Details section for its X and Y Co-Ords. Or is it something else you are after?
JustinReno Posted September 30, 2007 Author Posted September 30, 2007 Thanks for the reply BUT: I want the coordinates of a ctrl like a button on my app. Without using the info tool, or pre defined coordinates. I want it to find the current coordinates of the ctrl and click it, the app is going to be used on different computers with without screen resolutions. Please help!!!!
GaryFrost Posted September 30, 2007 Posted September 30, 2007 ControlGetPos SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
smahdi83 Posted October 29, 2007 Posted October 29, 2007 Hi, What if I want to find coordinates of a COM object on a form? I tried it and that doesn't work. $excel_pos_regu = ControlGetPos("","",$allocation_bulk_reguacc_excel) Thanks,
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now