[REGEDIT] Make "finished find" messagebox owned by Regedit window (#3369)

Same behaviour as in MS Regedit.
CORE-17367
This commit is contained in:
Oleg Dubinskiy 2020-11-14 20:21:10 +02:00 committed by GitHub
parent b59bad8d10
commit 6aae5f4fdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}
}