John Barrat wrote:
I want to get the window properties of a 3rd party SDI application.

I know the handle to the Application, I get that through using the
GetWindow() and GetWindowText() API calls but is there a way of discovering
the handles to other windows in the application - e.g. the applications
editing area.  Would the GW_CHILD command parameter for example get me all
the windows in the client area of the application window?

No. The documentation says it will get you the window at the top of the Z-order. If you want other windows, you can use gw_HWndNext repeatedly to get a list of the top window's siblings.

The documentation also advises you that EnumChildWindows is more reliable that GetWindow in a loop. It works just like EnumWindows.

--
Rob
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to