From d06f2fa8ef3e6d79d8242e3691cbe74df31a4ec7 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Tue, 4 Jan 2022 18:48:47 +0200 Subject: [PATCH] Support for navigating the GUI using the arrow keys --- ExplorerPatcher/GUI.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ExplorerPatcher/GUI.c b/ExplorerPatcher/GUI.c index a0c7438..1ec915a 100644 --- a/ExplorerPatcher/GUI.c +++ b/ExplorerPatcher/GUI.c @@ -2147,9 +2147,9 @@ static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR PostMessage(hWnd, WM_CLOSE, 0, 0); return 0; } - else if (wParam == VK_TAB) + else if (wParam == VK_TAB || wParam == VK_DOWN || wParam == VK_UP) { - if (GetKeyState(VK_SHIFT) & 0x8000) + if ((GetKeyState(VK_SHIFT) & 0x8000) || wParam == VK_UP) { _this->tabOrder--; if (_this->tabOrder == 0)