Bringing Window to the Front in C# using Win32 API

前端 未结 6 1706
生来不讨喜
生来不讨喜 2020-12-09 01:46

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

6条回答
  •  庸人自扰
    2020-12-09 02:20

    You can try the BringWindowToTop function to not steal focus. I haven't used it, but it seems to be what you're looking for.

提交回复
热议问题