Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

Why is the Activated event not consistently fired when child forms are activated in an MDI application?

In the .NET Framework 1.0, child forms do not get the Form.Activated event (only the parent MDI). To catch MDI children being activated, listen to the Enter/Leave events of that child Form or listen to the Form.MdiChildActivate event in the parent Form.

In the .NET Framework 1.1 child Forms do get the Activated event.

Contributed from George Shepherd's Windows Forms FAQ



Page view counter