Re: Odd Behaviour of MDI Child Forms Overlapping Maximised

From: Ryan Gregg (rgregg_at_wheatlandsystems.com)
Date: 06/22/04


Date: Tue, 22 Jun 2004 11:35:05 -0500

I couldn't agree more. Thanks for the post on my blog about this newsgroup
thread. This solved my problem as well.

Ryan Gregg

"Charles Law" <blank@nowhere.com> wrote in message
news:eSlQUKiUEHA.644@tk2msftngp13.phx.gbl...
> 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