Activates the MDI child of a form.
Protected Sub ActivateMdiChild ( _ form As Form _ )
Dim form As Form Me.ActivateMdiChild(form)
protected void ActivateMdiChild( Form form )
protected: void ActivateMdiChild( Form^ form )
protected function ActivateMdiChild( form : Form )
If the form parameter is already the active MDI child form, then the ActivateMdiChild method simply returns. If form is not nullNothingnullptra null reference (Nothing in Visual Basic), then it is set to be the active MDI child form.
Whether the form parameter is nullNothingnullptra null reference (Nothing in Visual Basic) or not, ActivateMdiChild raises the MdiChildActivate event.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98