Bug fixes in GUI when using keyboard

This commit is contained in:
Valentin Radu
2021-10-02 23:13:33 +03:00
parent 78d2854086
commit d24b4d2d40
+3
View File
@@ -343,6 +343,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
WaitForSingleObject(ShExecInfo.hProcess, INFINITE);
DWORD dwExitCode = 0;
GetExitCodeProcess(ShExecInfo.hProcess, &dwExitCode);
_this->tabOrder = 0;
InvalidateRect(hwnd, NULL, FALSE);
CloseHandle(ShExecInfo.hProcess);
DeleteFileW(wszPath);
@@ -907,6 +908,8 @@ static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
pt.x = GET_X_LPARAM(lParam);
pt.y = GET_Y_LPARAM(lParam);
GUI_Build(0, hWnd, pt);
_this->tabOrder = 0;
InvalidateRect(hWnd, NULL, FALSE);
}
else if (uMsg == WM_DPICHANGED)
{