First of all I want to thank you for the project.
I have one question: can I set a parent window by handle (HWND) only? I need to render chromium browser in the window of another application.
I have work in such way in my current C++ project. CEF3 in C++ has method "SetAsChild":
Code: Select all
void attacheBrowserToWindow(HWND hWnd)
{
// Create the single static handler class instance
g_handler = new ClientHandler();
g_handler->SetMainHwnd(hWnd);
RECT rect;
GetClientRect(hWnd, &rect);
CefWindowInfo info;
CefBrowserSettings settings;
info.SetAsChild(hWnd, rect);
// Creat the new child browser window
CefBrowserHost::CreateBrowser(info, g_handler.get(), "about:blank", settings, NULL);
}
Do you have such method or maybe you will implement it in the future?