How to be notifed when IME candidate window need be reset ?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to be notifed when IME candidate window need be reset ?

Postby Streamlet » Mon Oct 14, 2019 10:18 am

A.T.T.

In off-screen mode, I need to reset IME candidate window when user is typing. Is there any notification?
I noticed there is a CefRenderHandler::OnImeCompositionRangeChanged, but it never be called in my testing.
Is CefRenderHandler::OnImeCompositionRangeChanged designed for such scenes? How to use it?
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am

Re: How to be notifed when IME candidate window need be rese

Postby Czarek » Thu Oct 17, 2019 8:00 am

You can find usage of OnImeCompositionRangeChanged in cefclient and in unit tests: https://github.com/chromiumembedded/cef ... =%E2%9C%93
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: How to be notifed when IME candidate window need be rese

Postby Streamlet » Wed Oct 30, 2019 8:42 am

Czarek wrote:You can find usage of OnImeCompositionRangeChanged in cefclient and in unit tests: https://github.com/chromiumembedded/cef ... =%E2%9C%93


Thanks. The cefclient works well. Threre must be problems in our own code. I will compare the flow with cefclient and find it out.
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 80 guests