
09-22-2004, 11:47 PM
|
|
Junior Contributor
|
|
Join Date: Feb 2003
Location: Durban, South Africa
Posts: 306
|
|
|
From your question it seems that you have figured out how to get the mouse over the button (wherever that may be on the screen).
To simulate a click, you can use either the:
mouse_event OR
SendInput
Windows API functions.
Search MSDN or the Platform SDK for help on how to use them.
Pay attention to which operating systems support these functions, and which OS you're writing for.
|
|