Can you please tell me if there is an example that would show how, in off-screen mode, display the image of the browser window in my created window?
- Code: Select all
void OnPaint(CefRefPtr< CefBrowser > browser, CefRenderHandler::PaintElementType type, const CefRenderHandler::RectList& dirtyRects, const void* buffer, int width, int height) override
{
}
I tried from the OnPaint callback - pass a buffer "buffer to the window, but it doesn't work.