<HTML><BODY>
<DIV>I have done this a number of times. take a look at "FindwindowEx"</DIV>
<DIV>This lets you specify a parent handle (in this case your form) to 
seatch for the class or name of the button.</DIV>
<DIV>&nbsp;</DIV>
<DIV>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.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jeremy</DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original 
Message-----<BR>From: "Ross Levis" &lt;ross@stationplaylist.com&gt;<BR>To: 
"NZ Borland Developers Group - Delphi List" &lt;delphi@ns3.123.co.nz&gt;<BR>
Date: Fri, 19 Aug 2005 13:54:25 +1200<BR>Subject: [DUG] Click a button in 
3rd party app<BR><BR>
<DIV><FONT face=Arial size=2>Does anyone know now&nbsp;to click a button in 
another application?&nbsp; I can get the window handle by using 
FindWindow.&nbsp; What's next?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Cheers,<BR>Ross.</FONT></DIV></BLOCKQUOTE>
</BODY></HTML>