hello, i'm korean.
I have a problem with the IME in Windows8.
cef version : 3.1750.1738
I input text in my browser, and then executes filedialog.
After, can't input the korean. Only can input english.
When this problem occurs, i open new browser. Then i can input the korean.
So. i did code IME, that change the english to korean.(or korean to english)
but it is not work.
Othre program is work.(without cefbrowser)
Please suggest ways to solve this problem.
thank you.
//It's IME code.
BOOL IME_SetHangulMode(HWND hwnd)
{
BOOL bRet = FALSE;
HWND hFocusWnd = hwnd;
//--- IME context
HIMC hIMC = NULL;
if (hIMC = ImmGetContext(hFocusWnd))
{
//--- IME
DWORD fdwConversion, fdwSentence;
bRet = ImmGetConversionStatus(hIMC, &fdwConversion, &fdwSentence);
if(bRet)
{
if(fdwConversion & IME_CMODE_LANGUAGE)
{
//korean to english
ImmSetConversionStatus(hIMC,IME_CMODE_ALPHANUMERIC, IME_SMODE_NONE);
}
else
{
//english to korean
ImmSetConversionStatus(hIMC,IME_CMODE_HANGUL, IME_SMODE_NONE);
}
}
else
{
}
//--- release context
ImmReleaseContext(hFocusWnd, hIMC);
}
return bRet;
}