Virtual mouse help needed

I am trying to build hand gesture based application to control mouse.
I have succeeded in moving mouse with finger co-ordinates.
But when I try clicking on other applications besides my console window, that application gets active and visual studio pauses execution until I click back on it using actual mouse.

Can anyone help me to keep the mouse movements with gestures active even if I click on other applications?

OS : windows 7

Topic archived. No new replies allowed.