Home > OS >  Winio3.0 winring0 simulated mouse click on the question
Winio3.0 winring0 simulated mouse click on the question

Time:10-12

Want to use program control automatically click of the mouse,
Use sendinput mouse_event cannot complete click,
Use wizard button tried, can complete click,

Search for a moment, there are two things, winio and winring0, tried,
But write 0 x64 circulated on the Internet, 0 x60 port, only for a ps/2 interface of the mouse, I haven't the clock interface of computer and laptop,
See a friend CSDN solved the problem, link here, http://bbs.csdn.net/topics/390382228
But try once, still can't complete click,

Can someone wrote a similar at the bottom of things, for inspiration.

CodePudding user response:

No one know?

CodePudding user response:

PostMessage (Hwnd, 513, 0, & amp; H50005) 'the mouse to press the x5 y5
Thread.sleep (10)
PostMessage (Hwnd, 514, 0, & amp; H50005) 'mouse pop-up x5 y5

Hwnd is you have to click control handle & amp; H00050005 before 2 bytes is Y after 2 bytes is the X coordinate

CodePudding user response:

refer to the second floor o8jackey8o response:
PostMessage (Hwnd, 513, 0, & amp; H50005) 'the mouse to press the x5 y5
Thread.sleep (10)
PostMessage (Hwnd, 514, 0, & amp; H50005) 'mouse pop-up x5 y5

Hwnd is you have to click control handle & amp; H00050005 2 bytes is behind Y 2 bytes is in front of the X coordinate


Don't know to don't talk nonsense...

CodePudding user response:

http://www.ghoffice.com/bbs/simple/? T36507. HTML
Recommend watching this
The development of Winring0 information rarely
Only to grope for
At the end of the day or figure out how to hardware keyboard port message, also can simulate the nature

CodePudding user response:

The other, if the wizard button click,
You try the administrator privileges to run your program
Then call mouse_event
This problem has been solved basically also, not necessarily to the driver layer
  • Related