From 47bd51dec87df3fe81e81ed7fea6dbe793506264 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Thu, 21 Nov 2019 17:00:24 +0100 Subject: [PATCH] + chg: post msg WM_PAINT to MessageBox window --- src/Dialogs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Dialogs.c b/src/Dialogs.c index 4468d94a2..ad3a36e0f 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -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