Thanks chaps I have plenty to go on now.

JohnB

-----Original Message-----
From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf
Of Betta International
Sent: Tuesday, June 22, 2010 2:36 PM
To: Moderated List for the Discussion of Delphi Programming excluding
Database-related topics
Subject: Re: Looking for some WinAPI help

If you have the handle of parent window, you can easily query its children
using win api EnumChildWindows. Consult Win32 help for details of this api.
But first I think you need to study the structure of the target application
(like for example to find that your wanted window is the third child of the
parent window or maybe it has unique class name or static but hidden text).
For this, you can use a freeware named Windoze or Windowse (I can't recall
the exact name, but similar to that).


Regards,
Luthfi

--- On Tue, 6/22/10, John Barrat <j.bar...@netcom.co.uk> wrote:

> From: John Barrat <j.bar...@netcom.co.uk>
> Subject: Looking for some WinAPI help
> To: delphi@elists.org
> Date: Tuesday, June 22, 2010, 3:24 AM
> 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?



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



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

Reply via email to