Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

SendMouseClickEvent

Post Reply
dilfich
Posts: 368
Joined: Thu Nov 30, 2017 1:17 am

SendMouseClickEvent

Post by dilfich »

Tell me what I'm doing wrong.
This only works on versions above 70.

Code: Select all

Chromium1.SendMouseClickEvent(@MouseEvent, MBT_LEFT, False, 1); 
Chromium1.SendMouseClickEvent(@MouseEvent, MBT_LEFT, True, 1); 
How to make it work on the 70 version?
MouseDown like works, but not is happening MouseUp.
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SendMouseClickEvent

Post by salvadordf »

TChromium.SendMouseClickEvent calls a CEF function directly and it hasn't been modified during the last year.

As you can see, the OSR demos at that time passed the same parameters to that function as they do today.

If you detected different results it could mean a bug in CEF or Chromium code was fixed in that function during the last year.
Post Reply