I have a mdi and 3 child windows. The program start with an empty mdi. With a menu you can open each child window once.
When i open for example 2 windows. And close the one on top. The one left(the window under the one i closed) should get focus. How can i manage this?
why i need this? each childwindow has a event gotFocus. Depending on the focus my menu should change.
Private Sub frmMain_gotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.GotFocus
...
End Sub
ty in advance :))