From 0634e93d6466c42e8c79d3c92d3a1ca1c1e54447 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Mon, 14 Feb 2022 07:41:02 +0200 Subject: [PATCH] Utility: Prevent "Please wait" window from receiving input --- ExplorerPatcher/utility.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ExplorerPatcher/utility.c b/ExplorerPatcher/utility.c index 9a0f9c0..3e8c741 100644 --- a/ExplorerPatcher/utility.c +++ b/ExplorerPatcher/utility.c @@ -1268,6 +1268,7 @@ LRESULT CALLBACK PleaseWait_HookProc(int code, WPARAM wParam, LPARAM lParam) if (msg->message == WM_INITDIALOG) { PleaseWaitHWND = msg->hwnd; + EnableWindow(PleaseWaitHWND, FALSE); LONG_PTR style = GetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE); SetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE, style & ~WS_SYSMENU); RECT rc;