mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-24 07:14:06 +01:00
Utility: Prevent "Please wait" window from receiving input
This commit is contained in:
parent
234ddf535b
commit
0634e93d64
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user