SetForegroundWindow function user32
Brings the thread that created the specified window into the foreground and activates the window.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setforegroundwindow.
Implementation
@pragma('vm:prefer-inline')
bool SetForegroundWindow(HWND hWnd) => _SetForegroundWindow(hWnd) != FALSE;