Home > Software engineering >  Ask for help in a certain site simulation mouse drag map problem
Ask for help in a certain site simulation mouse drag map problem

Time:09-24


The following code is to use the SendMessage function sends a message to simulate mouse drag map, simulated the left mouse button pressed drag and loosen the tencent map can be used, but the planning bureau in suzhou map website has no effect, three messages are passed to the browser, but the web map motionless, not complete drag effect, but also tried, only to any piece of news is the effect, but the three messages to not drag effect together, don't know what reason be? Turn to

: : SendMessage (hs, WM_LBUTTONDOWN, 0, lparam1);
: : SendMessage (hs, WM_MOUSEMOVE, NULL, lparam2);
: : SendMessage (hs, WM_LBUTTONUP, NULL, lparam2);

Tencent map http://map.qq.com/
Suzhou planning bureau map website http://www.map512.cn/

CodePudding user response:

Try SendInput

CodePudding user response:


In the end, I still want to play with a tile, lazy is not a good headache ah

CodePudding user response:

http://www.autohotkey.com
  • Related