Re: Odd Behaviour of MDI Child Forms Overlapping Maximised
From: Charles Law (blank_at_nowhere.com)
Date: 06/17/04
- Next message: Art: "How to use enumerable"
- Previous message: Nicolas: "Re: Disabling right click on web browser control"
- In reply to: Cor Ligthert: "Re: Odd Behaviour of MDI Child Forms Overlapping Maximised"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 13:51:23 +0100
Hi Cor
Sorry for the delay, but I thought you would be interested to know that your
workaround works for me exactly as you have written it.
Thanks very much.
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
> ///
>
> >
> >
>
>
- Next message: Art: "How to use enumerable"
- Previous message: Nicolas: "Re: Disabling right click on web browser control"
- In reply to: Cor Ligthert: "Re: Odd Behaviour of MDI Child Forms Overlapping Maximised"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|