Sending Messages to Other Applications
I am trying to enhance an application from the outside. To do this, I need to be able to send messages that simulate user actions to the application.
For example, it is possible to send a WM_LBUTTONDOWN message to another program and have that program behave as though the user had moved the mouse to the specified point and pressed the button?
Frank Mullin
Corinium Group
Re: Sending Messages to Other Applications
Try getting hold of the HWND to the application, and then sending the required message to it. You can get hold of the top level windows (I think) through the EnumWindows API.