Do you need to define an object from a descriptor or just want to identify an object, for example, to find out where you need to change the code? I created a tool that does the latter, but uses object focus, rather than window handles.
(added 2010-06-21) For windows that are not children of the main window, you can explicitly check each of these window class names with isValid() . Then, for each valid window, dig out a handle. This should work as long as you open only one instance of the window class at a time. If you open several instances, I think you need to add an open registration mechanism for these windows so that the application has access to them.
source share