Keep Window Inactive In Appearance Even When Activated

Posted by Zach Johnson on Stack Overflow See other posts from Stack Overflow or by Zach Johnson
Published on 2009-05-01T23:52:35Z Indexed on 2010/04/18 1:13 UTC
Read the original article Hit count: 433

Filed under:
|
|

Is there a way to keep a window inactive looking, even if it contains focus? I have two forms (A and B). After the user interacts with A, I transfer focus back to B. The result of the focus transfers (the user clicking on the A, then focus being transferred back to B) is that form A blinks from active to inactive. This looks ugly (especially on Vista where A momentarily gets a bigger shadow). How can I make A stay inactive looking so this blinking will not happen?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms