Home > Software engineering >  For help, use vba code to control the mouse, use mouseeventf_absolute in win10 it doesn't work
For help, use vba code to control the mouse, use mouseeventf_absolute in win10 it doesn't work

Time:11-14

For help, use vba code to control the mouse, use mouseeventf_absolute in win10 it doesn't work out why and how to solve

CodePudding user response:

You can refer to this link:

mouse_event API call absolute coordinates of mouse problems

CodePudding user response:

Incoming dwFlags mouse_event function parameters for 4 bytes Long length, but the API statement always MOUSEEVENTF_ABSOLUTE=& amp; H8000 system default for plastic, 2 bytes MOUSEEVENTF_ABSOLUTE or MOUSEEVENTF_MOVE is a negative number, then pass parameters in the past, in the form of byval API is not received & amp; But H00008001 & amp; H80000001
So trouble,

CodePudding user response:

reference 3 floor crispy large ice cream response:
dwFlags mouse_event function parameters as the incoming 4 bytes Long length, but the API statement always MOUSEEVENTF_ABSOLUTE=& amp; H8000 system default for plastic, 2 bytes MOUSEEVENTF_ABSOLUTE or MOUSEEVENTF_MOVE is a negative number, then pass parameters in the past, in the form of byval API is not received & amp; But H00008001 & amp; H80000001
So trouble,

Thank you very much, the problem is finally solved
  •  Tags:  
  • API
  • Related