Window Detective is a programmer's tool used to "spy" on an application's windows and allows you to view and even modify some of it's properties.
* View properties of windows such as text/title, dimensions and styles.
* Set properties such as text/title, dimensions and styles.
* View all windows in a tree hierarchy of parent/child windows.
* 'Pick' windows to inspect using the mouse.
* Advanced search which allows you to find windows that match specified criteria.
* Listen for window messages sent to a window.
* "Smart Settings" that intelligently remember user settings such as
Tools and Utilities
Product page: here