Export (0) Print
Expand All

Form.MdiChildActivate Event

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.

Event Data

The event handler receives an argument of type EventArgs.

Remarks

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Form Class | Form Members | System.Windows.Forms Namespace | OnMdiChildActivate

Show:
© 2014 Microsoft