G
Guest
I'm developing a MDI application in VB.NET 05
First probelm.
When MDI child is shown it should appear maximised. If i set WindowState for
MDI child after it is created but before it is opened, it doesn't appear
maximised when it is shown. The only workaround i found is to set WindowState
in Load event. Is this the correct behaviour or bug? Is what i'm doing
correct or is there a better way?
Second problem.
I have set an icon for the MDI child form. When the form is first shown in
maximized state a default icon is displayed in the menu strip and not the one
i assigned to the form. If i restore the form the correct icon is displayed.
If i maximize the form again the correct icon is shown in the menu strip. So
basically the problem is that if MDI child shown in maximised state the
default icon is displayed and not the correct one.
Thanks
Alex
First probelm.
When MDI child is shown it should appear maximised. If i set WindowState for
MDI child after it is created but before it is opened, it doesn't appear
maximised when it is shown. The only workaround i found is to set WindowState
in Load event. Is this the correct behaviour or bug? Is what i'm doing
correct or is there a better way?
Second problem.
I have set an icon for the MDI child form. When the form is first shown in
maximized state a default icon is displayed in the menu strip and not the one
i assigned to the form. If i restore the form the correct icon is displayed.
If i maximize the form again the correct icon is shown in the menu strip. So
basically the problem is that if MDI child shown in maximised state the
default icon is displayed and not the correct one.
Thanks
Alex