+ chg: post msg WM_PAINT to MessageBox window

This commit is contained in:
Rainer Kottenhoff 2019-11-21 17:00:24 +01:00
parent aadc9cbfc6
commit 47bd51dec8

View File

@ -85,6 +85,7 @@ static LRESULT CALLBACK CenterInParentHook(INT nCode, WPARAM wParam, LPARAM lPar
}
CenterDlgInParent(hChildWnd, hParentWnd);
PostMessage(hChildWnd, WM_SETFOCUS, 0, 0);
PostMessage(hChildWnd, WM_PAINT, 0, 0);
}
}
// continue with any possible chained hooks