Click to See Complete Forum and Search --> : Emulating global mouse click


imbaczek
June 11th, 2004, 06:28 AM
I need to emulate a mouseclick on a global level; I've seen this done in Netbus, probably with a hook. Target platform is WinXP. My questions:
1) is a hook the way to go?
2) how to make one?
3) how to use it afterwards?

TIA.

Marc G
June 11th, 2004, 06:57 AM
To simulate on a global level, no hooks are required.
Take a look at the SendInput function.