Thanks, but that's not really what I need..

The thing is, I need the function to not just effect desktop apps, but also full-screen games and such too. The only way I have managed to achieve that as yet is through 'SendInput'.

(I did try your code though BTW -- the 'LPPOINT' needs to only be a 'POINT', and it won't work in full-screen apps)