Im Using Delphi 3 in a Windows95 Enviroment:
Is it posible to activate other applications and do mouse events in those application(Press buttons, Menus and other).
I want things to happen like if i was manually moving the mouse around my screen, but i want to do it from my application.
I dont know the handle of the window i want to activate, it depends on the position af the mouse.
I have tried sending a WM_LBUTTONDOWN message to another application by pressing a button(Not mouse button), but the message seem to be send to my application and not to the other application (When using Winsight). Winsight returns something like this:
0000:00000528 (other application name) WM_LBUTTONDOWN (position) Dispatched
but only when i mark the process of my application, not (other application)
I hope someone understand this question !
PS. I'm not very good at API Calls, so i would like some sample code