Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

generating mouse events OUTSIDE my own window

Status
Not open for further replies.

andreiaron

Programmer
Jul 18, 2002
6
RO
Hi, i need to generate mouse events outsidee the windows i create. (preferably c#, but a c++ solution will do as well)

i need to create a program that will "move" the mouse pointer, and click on windows (not windows that I myself create) and type random keys around the OS, but without using the physical mouse or keyboard. I am using this for a communications program that will give remote acces to the mouse and keyboard.

I know how to do this inside forms (windows) that i myself create, but i have no idea how to capture/create mouse events simply inside the (eg. outside the windows my program creates).

thanks, and i would appreciate the help,

Andrei
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top