   Mouse Click
  Hey guys I want to make the mouse "click", without the user actually pressing the button. I do not wish to merely give the appearance that the mouse is clicked but the program I intend to make is a "clicker" program that clicks the mouse automatically for the user. I am certain there is a library or some aspect of the WIN32 API that I could use to my advantage I just need to be pointed in the right direction, thank you very much.On another note, if I wanted the program to wait a few seconds before doing something, how would I go about this? I am used to graphics engines where a timer is present and also frame count may be used to "wait", also in some packages the command "wait" or "sleep" may be used (very very useful too...). Is this easily achievable using plain C++?   
  SendInput() and Sleep().   ;  Thanks that was a very quick reply, Im astonished at the level of free service available here :D. Does "Sleep()" need any additional dependencies? Im using MS Visual C++ 2003 Toolkit and Ive noticed projects that use "Sleep()" fail to compile. Also it would be very convenient if someone has to time to go into further detail about the SendInput() command.   ;  Strike that, "Sleep()" works fine when capatalized and argumentasized properly, I just tried it now. But Im still not too sure about SendInput() an example would be nice.   