Activates the MDI child of a form.
Protected Sub ActivateMdiChild ( _ form As Form _ )
protected void ActivateMdiChild( Form form )
protected: void ActivateMdiChild( Form^ form )
member ActivateMdiChild : form:Form -> unit
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 SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2