https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setforegroundwindow Brings the thread that created the specified window into the foreground and a…