Set an external EXE as TopMost

前端 未结 1 1513
醉话见心
醉话见心 2021-01-22 02:18

How would you set a program to become the topmost application using Process.Start or something along those lines

Any help would be appreciated!

相关标签:
1条回答
  • 2021-01-22 02:47

    After starting the proccess, I would start by getting the window handle of that process

    Then, I would use SetWindowPos to set it to be the topmost

    Notice that this requires using PInvoke. The 3 links should point you in the right direction.

    0 讨论(0)
提交回复
热议问题