[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:
Hermès Bélusca-Maïto 2016-09-17 23:07:46 +00:00
parent 99dcff252e
commit b33dfb3ede
2 changed files with 4 additions and 0 deletions

View file

@ -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:
{

View file

@ -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))