I create a off screen CefBrowser with SetAsOffScreen(), and copy the real time image to a D3D texture in CefRenderHandler::OnPaint(). The texture will be used in part of the D3D based window, and the related keyboard/mouse event will be passed to the offscreen CefBrowser by Send***Event() function of its host.
Everything works fine but no blinking cursor in textbox (while keyboard input to the textbox works and the textbox is highlighted).
I try to set focus (broswer->GetHost()->SendFocusEvent(true)) after CefBrowser is created, and implement CefFocusHandler::OnTakeFocus() to set focus. But it still not works.
Is there anyway I can do to get the blinking cursor?