Set an external EXE as TopMost

2020-04-16 02:29发布

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

Any help would be appreciated!

标签: c# process
1条回答
啃猪蹄的小仙女
2楼-- · 2020-04-16 02:51

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.

查看更多
登录 后发表回答