Is it possible to set the game window as foreground window in OS?

You should be able to do this with the windows handle HWND_TOPMOST and the function SetWindowPos() in WinUser.h. You can see an example of usage in WindowsPlatformMisc.cpp

1 Like