mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[OSK] Delete WS_EX_NOACTIVATE workaround code
CORE-18528
This commit is contained in:
@@ -550,9 +550,6 @@ int OSK_Timer(void)
|
||||
hWndActiveWindow = GetForegroundWindow();
|
||||
if (hWndActiveWindow != NULL && hWndActiveWindow != Globals.hMainWnd)
|
||||
{
|
||||
/* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
|
||||
Globals.hActiveWnd = hWndActiveWindow;
|
||||
|
||||
/* Grab the current keyboard layout from the foreground window */
|
||||
dwThread = GetWindowThreadProcessId(hWndActiveWindow, NULL);
|
||||
hKeyboardLayout = GetKeyboardLayout(dwThread);
|
||||
@@ -629,19 +626,6 @@ BOOL OSK_Command(WPARAM wCommand, HWND hWndControl)
|
||||
LONG WindowStyle;
|
||||
INT i;
|
||||
|
||||
/* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
|
||||
if (Globals.hActiveWnd)
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
SetForegroundWindow(Globals.hActiveWnd);
|
||||
while (PeekMessageW(&msg, 0, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessageW(&msg);
|
||||
}
|
||||
}
|
||||
|
||||
/* KeyDown and/or KeyUp ? */
|
||||
WindowStyle = GetWindowLongW(hWndControl, GWL_STYLE);
|
||||
if ((WindowStyle & BS_AUTOCHECKBOX) == BS_AUTOCHECKBOX)
|
||||
|
||||
@@ -57,8 +57,6 @@ typedef struct
|
||||
HWND* hKeys;
|
||||
HFONT hFont;
|
||||
WCHAR szTitle[MAX_PATH];
|
||||
/* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
|
||||
HWND hActiveWnd;
|
||||
|
||||
/* On-Screen Keyboard registry settings */
|
||||
BOOL bShowWarning;
|
||||
|
||||
Reference in New Issue
Block a user