Can I get a window handle for window IME access from Unreal Engine 5??

void UMyIMEManager::SetInputLanguage(bool bIsKorean) { HWND hWnd = GetActiveWindow(); if (hWnd) { HIMC hIMC = ImmGetContext(hWnd); if (hIMC) { DWORD dwConversion, dwSentence; ImmGetConversionStatus(hIMC, &dwConversion, &dwSentence); if (bIsKorean) { dwConversion |= IME_CMODE_HANGUL; } else { dwConversion &= ~IME_CMODE_HANGUL; } ImmSetConversionStatus(hIMC, dwConversion, dwSentence);ImmReleaseContext(hWnd, hIMC); } } }

Hi, I am trying to switch languages using the window IME in Unreal Engine 5, but it is not working properly. I have tried several ways to get the HWND, but none of them have worked. Is it fundamentally impossible to access it? Can you help me?

1 Like

Trying to make ime work as well. Somebody managed?