MDI Child From Problem

J

Jim Young

Our team is working on an MDI application. When we create a MDI child form
in the normal fashion, assigning MdiParent property to the reference of the
main form. The child form displays ok with the maximize and minimize button.
But, when the child form is maximized the control buttons for the child
window are not displayed in the menu bar of the main form. This makes it
impossible to restore the sizeo of the child form. Does anyone have a hint
or idea what may be going on here?


TIA,

Jim
 
V

vijai thoppae

Jim,

When child form is maximized, by default all the child menus gets added to
the Main menu & by properly setting the MergeOrder makes it to the right
place in the list. But in case of tool bars it doesn't get added to the main
toolbar, instead it shows at the next level, i believe thats the limitation.

Thanks,
Vijai
 
H

Herfried K. Wagner [MVP]

* "Jim Young said:
Our team is working on an MDI application. When we create a MDI child form
in the normal fashion, assigning MdiParent property to the reference of the
main form. The child form displays ok with the maximize and minimize button.
But, when the child form is maximized the control buttons for the child
window are not displayed in the menu bar of the main form. This makes it
impossible to restore the sizeo of the child form. Does anyone have a hint
or idea what may be going on here?

What version of .NET and Windows do you use?
 
J

Jim Young

..Net 1.1, Windows XP Pro. We figured the problem out. We are using a DevEx
toolbar in the main form and it was acting as the main menu for the form.
Once we removed the standard Windows main menu and used the one supplied
with the tool bar, everything worked out OK.

Thanks,

Jim
 

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