How to force a mouse click on certain screen coordinates?

I am trying to find a way to automate the usage of strictly GUI applications that lack any command line options. If there is a way to effectively force mouse clicks on certain coordinates of the screen, then I can build a list of whatever coordinates reside within particular GUI buttons, and go from there.

Is there a way to do something like this in C++? If not, what would you suggest as an alternative?

Right now, I'm just trying to work with GUI applications for Win XP SP3.
You can yes.

You can set the mouse position. Then fire off a mouse click event. This is how automated testing software functions :)

Look in the win32api for cursor and messaging :)
Last edited on
Ok, thanks. I haven't gotten into any of the GUI functions of C++, so I wasn't really sure where to start.
No worries :)
Topic archived. No new replies allowed.