mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-22 16:26:05 +00:00
7071248: IME composition window does not disappear when file dialog is closed : Japanese WinXP
Reviewed-by: naoto, art
This commit is contained in:
parent
4be64adddd
commit
077625bba2
@ -153,6 +153,11 @@ FileDialogHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam)
|
||||
break;
|
||||
}
|
||||
case WM_DESTROY: {
|
||||
HIMC hIMC = ::ImmGetContext(hdlg);
|
||||
if (hIMC != NULL) {
|
||||
::ImmNotifyIME(hIMC, NI_COMPOSITIONSTR, CPS_CANCEL, 0);
|
||||
}
|
||||
|
||||
WNDPROC lpfnWndProc = (WNDPROC)(::GetProp(parent, NativeDialogWndProcProp));
|
||||
ComCtl32Util::GetInstance().UnsubclassHWND(parent,
|
||||
FileDialogWndProc,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user