mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-24 15:22:22 +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)
|
if (msg->message == WM_INITDIALOG)
|
||||||
{
|
{
|
||||||
PleaseWaitHWND = msg->hwnd;
|
PleaseWaitHWND = msg->hwnd;
|
||||||
|
EnableWindow(PleaseWaitHWND, FALSE);
|
||||||
LONG_PTR style = GetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE);
|
LONG_PTR style = GetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE);
|
||||||
SetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE, style & ~WS_SYSMENU);
|
SetWindowLongPtrW(PleaseWaitHWND, GWL_STYLE, style & ~WS_SYSMENU);
|
||||||
RECT rc;
|
RECT rc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user