Help!!! C++ problem.

Stalker

Member
Oct 9, 1999
193
0
0
My program will start a third party program(MSYNC). I want my program to press/execute the "SYNC" button in the program. How do I do that without instucting the mouse to move to the cordinate of sync button and click?

in Visual Basic its just MSYNC.sync but i can't figure out how to do it in C++
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
You need to obtain the Window of the control.
One wy is to find the application window and then from there, locate the child window which has the text of the button that you ar looking for.

Then Post a MouseClick message to the window.