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?
There are two ways you can go, build a Device Driver which does this - however this is more or less the difficult approach but can help you create a real-time & full-time application, which patches the NT kernel.
However if this is a non-professional use software, I suggest using DirectX.