In OSR mode, can I get notify from cef the input focus changed?
Closed this issue · 2 comments
hyperiris commented
In OSR mode, we just send mouse and keyboard message to the "core" and let it do the rendering stuff.
But here is a question: If I click an "edit control" or "inputable area" or lost focus from them, How I get notified? Is there a callback mechanism to let app know?
Without this function, I think it's hard to control IME status.
magreenblatt commented
You can track input focus using CefRenderProcessHandler::OnFocusedNodeChanged (and sending the state to the browser process as needed).
hyperiris commented
You can track input focus using CefRenderProcessHandler::OnFocusedNodeChanged (and sending the state to the browser process as needed).
Thanks a lot !