Hello ALL,
I have this situation:
1. A MDI Form named frmPrincipal;
2. A MDIChild form named frmCustomers;

When I show the frmCustomers form, from a click event of a button of
frmPrincipal, like this:

frmCustomers.MdiParent = this;
frmCustomers.WindowState = FormWindowState.Maximized;
frmCustomers.Show()

The frmCustomers form shows ok, but the minimizebox, maximizebox and
controlbox appears, and I can´t like this.
In the frmCustomers properties I set false to maximizebox, controlbox and
minimizebox, but they appears yet.
I try to remove the border of the form (set FormBorderStyle = None) but
don´t work too.

Please, how can I hide this buttons?

Thanks in advance and sorry my English.

Fernando Lopes
Marília - São Paulo - Brazil.

Re: MDIChild forms maximizebox. by Herfried

Herfried
Fri Jul 11 10:04:02 CDT 2003

Hello,

"[ F e r n a n d o L o p e s ]" <lospe_remove_this_@spacnet.com.br> schrieb:
> I have this situation:
> 1. A MDI Form named frmPrincipal;
> 2. A MDIChild form named frmCustomers;
>
> When I show the frmCustomers form, from a click event of a
> button of frmPrincipal, like this:
>
> frmCustomers.MdiParent = this;
> frmCustomers.WindowState = FormWindowState.Maximized;
> frmCustomers.Show()
>
> The frmCustomers form shows ok, but the minimizebox,
> maximizebox and controlbox appears, and I can´t like this.
> In the frmCustomers properties I set false to maximizebox,
> controlbox and minimizebox, but they appears yet.

I don't know a solution but IMO this is a bug in Windows Forms.

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet



Re: MDIChild forms maximizebox. by T

T
Fri Jul 11 14:29:46 CDT 2003

I was wondering this as well. I have tried everything I can think of, and
yet they still appear. If anyone has any suggestions for this, it would be
appreaciated.

T. Waldren


"[ F e r n a n d o L o p e s ]" <lospe_remove_this_@spacnet.com.br> wrote in
message news:%23fClis7RDHA.940@TK2MSFTNGP11.phx.gbl...
> Hello ALL,
> I have this situation:
> 1. A MDI Form named frmPrincipal;
> 2. A MDIChild form named frmCustomers;
>
> When I show the frmCustomers form, from a click event of a button of
> frmPrincipal, like this:
>
> frmCustomers.MdiParent = this;
> frmCustomers.WindowState = FormWindowState.Maximized;
> frmCustomers.Show()
>
> The frmCustomers form shows ok, but the minimizebox, maximizebox and
> controlbox appears, and I can´t like this.
> In the frmCustomers properties I set false to maximizebox, controlbox and
> minimizebox, but they appears yet.
> I try to remove the border of the form (set FormBorderStyle = None) but
> don´t work too.
>
> Please, how can I hide this buttons?
>
> Thanks in advance and sorry my English.
>
> Fernando Lopes
> Marília - São Paulo - Brazil.
>
>



Re: MDIChild forms maximizebox. by Dasvoldus

Dasvoldus
Wed Dec 15 14:33:03 CST 2004


T Waldren wrote:
> I was wondering this as well. I have tried everything I can think
of, and
> yet they still appear. If anyone has any suggestions for this, it
would be
> appreaciated.
>
> T. Waldren
>
>
> "[ F e r n a n d o L o p e s ]" <lospe_remove_this_@spacnet.com.br>
wrote in
> message news:%23fClis7RDHA.940@TK2MSFTNGP11.phx.gbl...
> > Hello ALL,
> > I have this situation:
> > 1. A MDI Form named frmPrincipal;
> > 2. A MDIChild form named frmCustomers;
> >
> > When I show the frmCustomers form, from a click event of a button
of
> > frmPrincipal, like this:
> >
> > frmCustomers.MdiParent =3D this;
> > frmCustomers.WindowState =3D FormWindowState.Maximized;
> > frmCustomers.Show()
> >
> > The frmCustomers form shows ok, but the minimizebox, maximizebox
and
> > controlbox appears, and I can=B4t like this.
> > In the frmCustomers properties I set false to maximizebox,
controlbox and
> > minimizebox, but they appears yet.
> > I try to remove the border of the form (set FormBorderStyle =3D None)
but
> > don=B4t work too.
> >
> > Please, how can I hide this buttons?
> >
> > Thanks in advance and sorry my English.
> >
> > Fernando Lopes
> > Mar=EDlia - S=E3o Paulo - Brazil.
> >
> >
I too am experiencing this issue, it definitely appears to be a bug.