mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[MSGINA][SHELL32]: Temporarily disable the WM_ACTIVATE check because it blocks for whatever reason the dialog to properly close and return its correct return value when the user selects e.g. "Shutdown" and validate by pressing "OK" (effectively disables commit r72720).
svn path=/trunk/; revision=72721
This commit is contained in:
parent
99dcff252e
commit
b33dfb3ede
|
@ -299,12 +299,14 @@ ExitWindowsDialogShellProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
case WM_ACTIVATE:
|
||||
{
|
||||
if (LOWORD(wParam) == WA_INACTIVE)
|
||||
EndDialog(hWnd, 0);
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
case WM_PAINT:
|
||||
{
|
||||
|
|
|
@ -900,12 +900,14 @@ INT_PTR CALLBACK LogOffDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
EndDialog(hwnd, IDCANCEL);
|
||||
break;
|
||||
|
||||
#if 0
|
||||
case WM_ACTIVATE:
|
||||
{
|
||||
if (LOWORD(wParam) == WA_INACTIVE)
|
||||
EndDialog(hwnd, 0);
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
|
|
Loading…
Reference in a new issue