Hello,
currently im using the windows IME api in c# to receive the candidate list and render it with unity ui, which works grea.
But if I want to select a candidate from the UI through clicking the mode from chinese switches to english, which is not an expected behaviour.
See here
yjglkr
Im just setting the unity window and register the delegate, so I can receive on WndProc the messages and act on certain messages.
hWndPtr = NativeWindow.GetForegroundWindow();
newWndProc = new WndProcDelegate(WndProc);
newWndProcPtr = Marshal.GetFunctionPointerForDelegate(newWndProc);
oldWndProcPtr = NativeWindow.SetWindowLongPtr(hWndPtr, GWL_WNDPROC, newWndProcPtr);
Does anyone ever had this issue ?