Deactivate all MDI child forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

By default it seems that there always must be an active MDI child form. But, I want to deactivate all of the MDI child forms when the user clicks on a control that is owned by the MDI parent. This is similar to how the MDI child forms in Visual Studio are deactivated when a docking window is selected. Is there any way to do this? I tried Me.ActivateMdiChild(Nothing) but that doesn't work

Thank you
Lance
 
Hi Lance,

First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you wants to make your MDI
appliation work like the VS.NET IDE.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

I think the VS.NET IDE is not a usual MDI appliation. And we do not
recommend to change the default behavior of the MDI children form that
there will be one activated window by default. If you wants to make a
control something like VS.NET IDE, I think you may try to take a look at
the third party control.
Here is the link.
DotNetMagic
http://www.dotnetmagic.com/

Please apply my suggestion above and let me know if it helps resolve your
problem.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top