https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6aae5f4fdd87efe805f7bd...
commit 6aae5f4fdd87efe805f7bd44c601044b0cbe47c2 Author: Oleg Dubinskiy oleg.dubinskij2013@yandex.ua AuthorDate: Sat Nov 14 20:21:10 2020 +0200 Commit: GitHub noreply@github.com CommitDate: Sat Nov 14 19:21:10 2020 +0100
[REGEDIT] Make "finished find" messagebox owned by Regedit window (#3369)
Same behaviour as in MS Regedit. CORE-17367 --- base/applications/regedit/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/regedit/find.c b/base/applications/regedit/find.c index 98fe43f00bc..f095712bc6c 100644 --- a/base/applications/regedit/find.c +++ b/base/applications/regedit/find.c @@ -821,7 +821,7 @@ void FindDialog(HWND hWnd)
LoadStringW(hInst, IDS_FINISHEDFIND, msg, COUNT_OF(msg)); LoadStringW(hInst, IDS_APP_TITLE, caption, COUNT_OF(caption)); - MessageBoxW(0, msg, caption, MB_ICONINFORMATION); + MessageBoxW(hWnd, msg, caption, MB_ICONINFORMATION); } } }