开发者

how do i keep a specific window of another program from stealing focus (C# ?)

开发者 https://www.devze.com 2023-01-05 21:58 出处:网络
i\'m using a certain program that has a multitude of windows and each and every one of those windows might steal focus at certain times (mo开发者_运维百科stly when they open).

i'm using a certain program that has a multitude of windows and each and every one of those windows might steal focus at certain times (mo开发者_运维百科stly when they open). i would like to prevent a specific window from stealing focus when it opens (and also at other times, but that's less important and i can probably figure it out on my own if i'm given the solution for the main problem). i would like doing it in C# but any other programming language is probably good as well.


This is a recurring and old question.

Raymond Chen addressed it on his blog a while ago:

Link

Essentially, it just ends up being an arms race.

0

精彩评论

暂无评论...
验证码 换一张
取 消