https://git.reactos.org/?p=reactos.git;a=commitdiff;h=295ba62820a1cdad86eba…
commit 295ba62820a1cdad86ebadc4d8a2d20c799a08d4
Author: Kyle Katarn <contact(a)kcsoftwares.com>
AuthorDate: Sat May 9 14:37:26 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat May 9 21:37:26 2020 +0900
Fix of comdlg32 Treeview undue handling of WM_SYSKEYDOWN (#2731)
Remove WM_SYSKEYDOWN handling at component level, in consistency with other components
(ListView,...)
Early embodiement of the fix proposed to WineHQ :
https://bugs.winehq.org/show_bug.cgi?id=49097 in order to remove functionnal limitation in
ReactOS. CORE-17020
---
dll/win32/comctl32/treeview.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dll/win32/comctl32/treeview.c b/dll/win32/comctl32/treeview.c
index 9e5eb43894f..e4a30d38103 100644
--- a/dll/win32/comctl32/treeview.c
+++ b/dll/win32/comctl32/treeview.c
@@ -5825,7 +5825,9 @@ TREEVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
lParam)
return TREEVIEW_HScroll(infoPtr, wParam);
case WM_KEYDOWN:
+#ifndef __REACTOS__
case WM_SYSKEYDOWN:
+#endif
return TREEVIEW_KeyDown(infoPtr, wParam);
case WM_KILLFOCUS: