MDI Maximize problem

  • Thread starter Thread starter Imran Zulfiqar
  • Start date Start date
I

Imran Zulfiqar

I am using C# and VS.NET 2003. I have an mdi application. Problem is many
child windows are opened and user switch between child windows the child
forms are not in maximized state. First time the child form is opened the it
is in maximized state but when it loses the focus and agian gets the focus
it shriks. I have set the form set the form state maximized but still
behaviour remains the same. Can any body help me about this problem.
 
you can maximize the activated form in MdiChildActivate event of the MDI form.

Like this:

private void MYMDI_MdiChildActivate(object sender, System.EventArgs e)
{
this.ActiveMdiChild.WindowState = FormWindowState.Maximized;
}
 
Back
Top