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.

Upgrading CEF4Delphi

KenS
Posts: 28
Joined: Sat Aug 10, 2024 12:44 am
Location: Australia

Re: Upgrading CEF4Delphi

Post by KenS »

salvadordf wrote: Sun Aug 18, 2024 8:41 amUse the IDC_FIND, IDC_FIND_NEXT, IDC_FIND_PREVIOUS or IDC_CLOSE_FIND_OR_STOP
Is there way for the calling routine to find out when the user has clicked "X" on the find box?

Thanks
Ken


And come to think about it, I don't understand the purpose of IDC_FIND_NEXT, etc, aren't they all handled by the "Find" box?
User avatar
salvadordf
Posts: 4563
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Upgrading CEF4Delphi

Post by salvadordf »

All those are internal Chrome commands but there's only a few code comments to explain the details :
https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/chrome_command_ids.h

All we know about those commands is this :

Code: Select all

// Find-in-page
CEF doesn't have any event to know when the user clicks on the X.
Post Reply