Pergunta

I am using this function but SetCursorPos Private Declare Function SetCursorPos Lib "user32" (ByVal x As Int32, ByVal Y As Int32) As Int32

But i suffered a little problem that when i go to the corners of windows 8. It doesn't invoke side menus, start menus , ... etc ..

If anyone knows any importable function 'MouseMove' ? So it would be better support to Smart Screen of Windows8

Foi útil?

Solução

Later I got the a proper opensource library for input simulation on http://inputsimulator.codeplex.com/

 var   inputSimulator = new InputSimulator(); 
    inputSimulator.Mouse.MoveMouseBy(pixX, pixY);

This code work for me .

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top