Just include windows.h and use these lines

Code
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
wait(1); //this is mandatory
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);



Last edited by alibaba; 05/05/20 21:20.

Professional Edition
A8.47.1
--------------------
http://www.yueklet.de