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

Post Reply
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Incorrect resize notification

Post by salvadordf »

Hi,

Perhaps the resize message arrived before the browser was fully created.

Try calling TCEFWindowParent.UpdateSize inside the BrowserCreatedMsg procedure.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Incorrect resize notification

Post by salvadordf »

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! :D
Post Reply