mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ chg: post msg WM_PAINT to MessageBox window
This commit is contained in:
parent
aadc9cbfc6
commit
47bd51dec8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user