Article ID: 168829 - View products that this article applies to.
This article was previously published under Q168829
This article has been archived. It is offered "as is" and will no longer be updated.
When trying to determine whether a child window of an application is open, you need to know whether it is a child of the main application window, a grandchild, or an independent window. This article provides a method of creating a hierarchical listing of all currently open windows and their window class names, making it easier navigating a program's window hierarchy.
WARNING: Microsoft provides code examples for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. This code is provided 'as is' and Microsoft does not guarantee that the following code can be used in all situations. Microsoft does not support modifications of the code to suit customer requirements for a particular purpose.
Article ID: 168829 - Last Review: February 24, 2014 - Revision: 4.2
Contact us for more help
Connect with Answer Desk for expert help.