IME BUG

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.

IME BUG

Postby shileiyu » Thu Dec 09, 2010 11:06 am

issue:
if you try to input some east-asia character in web input control.you will discovery the character order is wrong.
try type 一二三四五 will get 二三四五一。

solution:
add response for WM_IME_CHAR in function
LRESULT CALLBACK WebWidgetHost::WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
like this
switch(message)
{
....
case WM_IME_CHAR:
host->KeyEvent(message, wparam, lparam);
return 0;<-----make sure do not forward to DefWindowProc,otherwise will cause double input
....
}
shileiyu
Newbie
 
Posts: 9
Joined: Thu Dec 09, 2010 10:52 am

Re: IME BUG

Postby magreenblatt » Thu Dec 09, 2010 12:14 pm

Thanks, issue 152 associated with this bug has been accepted.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 62 guests