Re: Odd Behaviour of MDI Child Forms Overlapping Maximised

From: Charles Law (blank_at_nowhere.com)
Date: 06/14/04


Date: Mon, 14 Jun 2004 16:16:31 +0100

Hi Cor

Thanks. I will try something like this, as you say, as a workaround. That
framework V1.1 service pack is long overdue ...

Charles

"Cor Ligthert" <notfirstname@planet.nl> wrote in message
news:uifeyihUEHA.3420@TK2MSFTNGP12.phx.gbl...
> Hi Charles,
>
> It looks weird as you said.
>
> I did make something like this however not complete it, maybe you can use
it
> as a workaround.
> (And than complete it, it acts a little bit as would be needed, however it
> is not ready yet)
>
> It is only meant to give you an idea for a workaround, in my opinion are
you
> clever enough to complete it when you can use it (and making things for
you
> complete is not the best thing to do)
>
> :-)
>
> Cor
>
> \\\\
> Private Sub Form2_Activated(ByVal sender As Object, _
> ByVal e As System.EventArgs) Handles MyBase.Activated
> Dim bool As Boolean
> For Each frm As Form In Me.ParentForm.MdiChildren
> If frm.WindowState = FormWindowState.Maximized Then
> bool = True
> frm.WindowState = FormWindowState.Normal
> End If
> Next
> If bool = True Then
> Me.WindowState = FormWindowState.Maximized
> End If
> End Sub
> ///
>
> >
> >
>
>



Relevant Pages