xyious
xyious

Reputation: 1073

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

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 (mostly 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.

Upvotes: 0

Views: 475

Answers (1)

John Weldon
John Weldon

Reputation: 40799

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.

Upvotes: 1

Related Questions