mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +00:00
[KBSWITCH][CPL:INPUT][NTUSER][EXPLORER] Fix keyboard layout icon (#4815)
Fix keyboard layout icon in taskbar notification area. JIRA issue: CORE-11700, CORE-2699, CORE-18546
- Call ActivateKeyboardLayout to select the keyboard layout correctly.
- Modify WM_INPUTLANGCHANGEREQUEST parameter.
- Modify BroadcastSystemMessageW parameter.
- Revert Taskbar Notification Area MA_NOACTIVATE HACK 8344291
. This fixes Context Menu display.
- Load the "IME File" value and set the IME icon if necessary.
- Correctly implement global hooks.
This commit is contained in:
parent
a06f10d0c0
commit
36f7d1a953
8 changed files with 318 additions and 71 deletions
|
@ -960,7 +960,7 @@ IntDefWindowProc(
|
|||
if (hwndSwitch)
|
||||
{
|
||||
#define ID_NEXTLAYOUT 10003
|
||||
UserPostMessage(hwndSwitch, WM_COMMAND, ID_NEXTLAYOUT, 0);
|
||||
UserPostMessage(hwndSwitch, WM_COMMAND, ID_NEXTLAYOUT, (LPARAM)UserHMGetHandle(Wnd));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2356,6 +2356,11 @@ ConWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
return DefWindowProcW(hWnd, msg, wParam, lParam);
|
||||
}
|
||||
/* Detect Alt+Shift */
|
||||
if (wParam == VK_SHIFT && (msg == WM_SYSKEYDOWN || msg == WM_SYSKEYUP))
|
||||
{
|
||||
return DefWindowProcW(hWnd, msg, wParam, lParam);
|
||||
}
|
||||
|
||||
OnKey(GuiData, msg, wParam, lParam);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue