LOBOMINATOR Posted April 24, 2008 Posted April 24, 2008 (edited) HelloI'm currently testing an application with AutoIt. But I have the following problem:The controls (textbox etc.) cannot be identified by the ID tag, because this is prone to changes. Is there a way to enumerate all the controls on the currently active window (to receive all the handles for the controls?)See my other post: http://www.autoitscript.com/forum/index.php?showtopic=14323Thanks for you helpDaniel Edited April 24, 2008 by LOBOMINATOR
Zedna Posted April 24, 2008 Posted April 24, 2008 (edited) You must use EnumChildWindows API with CallBack function. Look at example for DllCallbackRegister() in AutoIt helpfile. OH sorry now I noticed it's in ActiveX/COM section. I think this will not be possible in ActiveX/COM DLL. But in pure AutoIt it should be no problem. Edited April 24, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
LOBOMINATOR Posted April 24, 2008 Author Posted April 24, 2008 Hello I used the EnumChildWindow Apicalls over PInvoke in C#. But this won't return the components/controls of a window? Or am I incorrect? Thanks for your help Daniel
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