Mdi Child Form in Mdi Parent Form

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
 
S

Scott

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;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top