From 6aae5f4fdd87efe805f7bd44c601044b0cbe47c2 Mon Sep 17 00:00:00 2001 From: Oleg Dubinskiy Date: Sat, 14 Nov 2020 20:21:10 +0200 Subject: [PATCH] [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); } } }