Board index » delphi » simulated button clicks

simulated button clicks

Hi Everyone :-)

I've been using sndkeys32.pas off the Delphi 6 CD to send keystrokes to
another application...
now, is there any way send a left mouse button click on a button to another
app?

thanks!

Jeff

 

Re:simulated button clicks


Yep.  SendMessage(TheButtonHandle,BM_CLICK,0,0);

Quote
Jeff Labute wrote:

> Hi Everyone :-)

> I've been using sndkeys32.pas off the Delphi 6 CD to send keystrokes to
> another application...
> now, is there any way send a left mouse button click on a button to another
> app?

> thanks!

> Jeff

--

This one was dead black, and in this, nothing moved.

Other Threads