Occurs when a multiple document interface (MDI) child form is activated or closed within an MDI application.
[Visual Basic] Public Event MdiChildActivate As EventHandler [C#] public event EventHandler MdiChildActivate; [C++] public: __event EventHandler* MdiChildActivate;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type EventArgs.
You can use this event to perform tasks such as updating the contents of the MDI child form and changing the menu options available in the MDI parent form based on the status of the MDI child form that is activated.
For more information about handling events, see Consuming Events.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family