SetCursorPos (X, Y); mouse_event (MOUSEEVENTF_LEFTDOWN, 0,0,0,0); mouse_event (MOUSEEVENTF_LEFTUP, 0,0,0,0);
Se cam autoexplica ...