Hi there,
I searched the whole forum, tried the examples but I didn't find a solution.
I am trying to simulate a mouseclick with Lazarus, I wrote the same program in Delphi7 and there's an easy command for that.
SetCursorPos(x, y);
//Delphi
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Does anybody know a way?