< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp

Print this page

        

*** 502,513 **** } HWND AwtToolkit::GetTouchKeyboardWindow() { const TCHAR wndClassName[] = _T("IPTip_Main_Window"); HWND hwnd = ::FindWindow(wndClassName, NULL); ! if ((hwnd != NULL) && ::IsWindow(hwnd) && ::IsWindowEnabled(hwnd) && ! ::IsWindowVisible(hwnd)) { return hwnd; } return NULL; } --- 502,512 ---- } HWND AwtToolkit::GetTouchKeyboardWindow() { const TCHAR wndClassName[] = _T("IPTip_Main_Window"); HWND hwnd = ::FindWindow(wndClassName, NULL); ! if ((hwnd != NULL) && ::IsWindow(hwnd) && ::IsWindowEnabled(hwnd)) { return hwnd; } return NULL; }
< prev index next >