Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 23987, Winalyzer: sample to enumerate window hierarchy of an app

by Peter Below Email: Anonymous

Program demonstrates how to enumerate the windows and their controls in another application and how to find a control again by its position in the hierarchy. Also shows how to get information about a window, given its handle
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 10.0 597 downloads
Copyright: No significant restrictions

Size: 8,622 bytes
Updated on Sat, 23 Dec 2006 03:22:58 GMT
Originally uploaded on Sun, 07 May 2006 07:40:06 GMT
SHA1 Hash: 26C62B4F546FCC0AC94DE1623584FEA7B2F90973
MD5 Hash: 132FB8BBE91A58D0ADD722B6F46BA06B

    Explore the files in this upload

The program shows the use of API functions like EnumThreadWindows and EnumChildWindows to build a hierarchical tree of an applications windows, incluing their child windows (controls). The result is displayed in a treeview. Can take minutes for a large app like BDS 4.0!
Further information about a windows can be obtained by clicking its node in the treeview. This also generates a search path for the selected window. This path can then be used to find the window again in another instance of the analyzed program.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03