Page 1 of 1

Clicking in chrome window

Posted: Thu Mar 09, 2023 7:44 pm
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.

Re: Clicking in chrome window

Posted: Thu Mar 09, 2023 7:54 pm
by PhillHS
I've solved it.

My CefWindowParent was not enabled!

Cheers.

Phill.