Form::ActivateMdiChild Method (Form^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Activates the MDI child of a form.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
void ActivateMdiChild(
	Form^ form
)

Parameters

form
Type: System.Windows.Forms::Form^

The child form to activate.

If the form parameter is already the active MDI child form, then the ActivateMdiChild method simply returns. If form is not null, then it is set to be the active MDI child form.

Whether the form parameter is null or not, ActivateMdiChild raises the MdiChildActivate event.

.NET Framework
Available since 1.1
Return to top
Show: