Page 3 of 3

Re: Upgrading CEF4Delphi

Posted: Mon Aug 19, 2024 3:13 am
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?

Re: Upgrading CEF4Delphi

Posted: Thu Aug 22, 2024 9:05 am
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.