Sign in to follow this  
Followers 0
konan

How to get the control list in a window

5 posts in this topic

How to get the control list in a window?

Usually, there are many control which is hidden in the windows. Or some control is visible ,but if i move mouse on it , Spy can't show me the name, Because it is under another control. So i want get the control list in a windows.

Now i just know only one way. just check a control is enable. like this

controlcommand("abc","edf","Edit100","isenable","")

if get error then there is no such a control.

my english is poor. thank you!

Share this post


Link to post
Share on other sites



sorry,WinGetClassList is the Answer.

Share this post


Link to post
Share on other sites

Another Question.

the list which is gotten by WinGetClassList is only the usually name of control. Just like Button, Static, Edit But not exact name like Button32, Edit 34.

how to get the exact controlname list?

Share this post


Link to post
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
Sign in to follow this  
Followers 0