Mdi Child Form in Mdi Parent Form

  • Thread starter Thread starter Sylvain
  • Start date Start date
S

Sylvain

Hi,

I am developping a Visual C++ application. In my application, I
created a Mdi parent form with a main menu. I also created a
"menuItem" click to display a Mdi child form. I want in this case to
display the Mdi child form in all the Mdi parent form.

The problem is that the Mdi child form seems to be minized in his
parent ( The Mdi parent form ). I have to use the "Maximize" icon of
the mdi child form to make it displayed in all the Mdi parent form.

Do you know how to display the Mdi child form in all the Mdi parent
form without using the "Maximize" icon of the mdi child form ?

Thanks.

Sylvain
 
If this is a .NET form object then all you have to do is set the WindowState
property of the child form in either the constructor or the OnLoad event as
shown below...

WindowState = FormWindowState::Maximized;
 
Back
Top