I am writing an application that needs to bring window of an external app to the foreground, and not necessarily steal focus (there is a setting the user can toggle to steal
You could use FindWindow to get the HWND of the window, then use the BringWindowToTop function found in the Win32 API.