SetForegroundWindow doesn't work with minimized process [duplicate]
问题 This question already has answers here : Bring to forward window when minimized (2 answers) Closed 5 years ago . Couldn't find any good answer on this topic, so maybe someone can help me out. I'm making a small personal program where I want to bring a certain application to the foreground. It already works, but there is one small problem. When the process is minimized my code doesn't work. The process won't get showed on the foreground like it does when it is not minimized. Here is a snippet