Is MDI Form focused?

Posted by Vercas on Stack Overflow See other posts from Stack Overflow or by Vercas
Published on 2010-12-23T21:15:03Z Indexed on 2010/12/23 21:54 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I've had so much luck developing my application... until now.
My application's main form is a MDI parent, and I didn't think of adding any MDI children in my tests until tonight.
To my surprise, the MDI parent seems to never "get focus" now. The Focus event and the OnFocus method are never called! I mean... it appears focused but none of the in-code focusing events/methods work. Instead a MDI child reports the focus.

How do I fix this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms