[DUG] Click a button in 3rd party app

Jeremy Coulter vss at vss.co.nz
Fri Aug 19 14:06:54 NZST 2005


I have done this a number of times. take a look at "FindwindowEx"
This lets you specify a parent handle (in this case your form) to seatch for 
the class or name of the button.

If the button is on another control, you will need to find the handle for 
that first, that then becomes the parent handl, then look for the button.

Jeremy
-----Original Message-----
From: "Ross Levis" <ross at stationplaylist.com>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
Date: Fri, 19 Aug 2005 13:54:25 +1200
Subject: [DUG] Click a button in 3rd party app


Does anyone know now to click a button in another application?  I can get 
the window handle by using FindWindow.  What's next?
 
Cheers,
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050819/2adcfe43/attachment.html


More information about the Delphi mailing list