Hi,
Perhaps the resize message arrived before the browser was fully created.
Try calling TCEFWindowParent.UpdateSize inside the BrowserCreatedMsg procedure.
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.
Incorrect resize notification
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Incorrect resize notification
Hi again,
I updated the demos with an extra call to TCEFWindowParent.UpdateSize when the browser is fully created.
Please, download CEF4Delphi again to see if the MiniBrowser always have the right size.
Thanks for the bug report!
I updated the demos with an extra call to TCEFWindowParent.UpdateSize when the browser is fully created.
Please, download CEF4Delphi again to see if the MiniBrowser always have the right size.
Thanks for the bug report!
