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.

Clicking in chrome window

Post Reply
PhillHS
Posts: 6
Joined: Sun Mar 05, 2023 5:27 pm

Clicking in chrome window

Post by PhillHS »

Hi all,

Next problem, using the SimpleBrowser2 as an example, I have merged most of the code into my application.
I have a TCefWindowParent and TChromium on my form, though the WindowParent is on a TTabSheet, I'm assuming this shouldn't make a difference.
I've copied all the messages and startup code from SimpleBrowiser2, and that all seems to work.

I can use use TChromium.LoadURL() to load a web page and it is loaded without problems, however if the site has any javascript popup type windows that need clicking on before accessing the main page, (e.g. cookie permission popups), clicking on them seems to be being ignored :( This is not the case in the SimpleBrowser2, where I can click on them and they go away.....

Any hints as to what the problem could be?

Cheers.

Phill.
PhillHS
Posts: 6
Joined: Sun Mar 05, 2023 5:27 pm

Re: Clicking in chrome window

Post by PhillHS »

I've solved it.

My CefWindowParent was not enabled!

Cheers.

Phill.
Post Reply