Page 1 of 1

Loss SendMouseWheelEvent after SendMouseClickEvent

Posted: Mon Oct 07, 2019 8:30 am
by micmorozov
Hello!

Help me figure out the next problem.

I use the following commands to click and scroll the mouse

For click
Chr.SendFocusEvent(true);
Chr.SendMouseClickEvent(@event, MBT_LEFT, false, 1);
Chr.SendMouseClickEvent(@event, MBT_LEFT, true, 1);

for scroll
Chr.SendMouseWheelEvent(@event, 0, -10);

But after I click on the link and the page loads, the scroll page stops working.

But if you scroll the mouse wheel, then the scroll starts working again.

What could be the problem?

Thanks

Re: Loss SendMouseWheelEvent after SendMouseClickEvent

Posted: Mon Oct 07, 2019 3:47 pm
by salvadordf
Hi,

I haven't tested that yet but you're not the first user that reports similar issues simulating mouse events :
https://www.briskbard.com/forum/viewtop ... t=10#p4284

Try an older CEF4Delphi release.