The SendInput()/SetCursorPos() API is not working in a remote session, if the mouse cursor is made hidden

  • Thread starter Thread starter Toffle
  • Start date Start date
T

Toffle

Guest
  • The SendInput()/SetCursorPos() API is not working in a remote session, if the mouse cursor is hidden.
  • So in this situation, when SendInput()/SetCursorPos() API is called after the cursor is made hidden, the client machine’s mouse position is not changed. But the value of GetCursorPos() returns the point to where the mouse cursor is re-positioned using any of these API's
  • If the mouse cursor is not made hidden in a remote session, the SendInput()/SetCursorPos() API works as expected.


Can anyone help to solve this situation?

Continue reading...
 
Back
Top