Hello,
I have a Windows application that shows a CEF browser and over it a smaller floating window painted by the Windows API whose size and position is constrained by the size and position of the CEF browser.
When I resize the main window, the CEF browser resizes a bit slower than the main and floating windows so the visual effect is poorly de-synchronized. So I'd like to constraint the size of the floating window to the CEF browser dimensions not the fastest main window dimensions. I need to know when the CEF browser is changing its size and what is the new size.
I've been browsing the CEF API docs but I have not been able to find answer to these questions:
- How can I get a CEF event that reports the frame is changing its size continuously?.
- How can I know the width and height of a CEF browser?.
Thanks you.