comctl32: Make modal property sheets modal.

This commit is contained in:
Lei Zhang 2007-06-14 18:41:43 -07:00 committed by Alexandre Julliard
parent 41fd380005
commit ebb460c3c0
1 changed files with 5 additions and 0 deletions

View File

@ -2836,7 +2836,12 @@ INT_PTR WINAPI PropertySheetA(LPCPROPSHEETHEADERA lppsh)
bRet = PROPSHEET_CreateDialog(psInfo);
if(!psInfo->isModeless)
{
HWND parent = GetParent(psInfo->hwnd);
if (parent) EnableWindow(parent, FALSE);
bRet = do_loop(psInfo);
if (parent) EnableWindow(parent, TRUE);
}
return bRet;
}