Remove menus in a maximized mdi child form

R

Ryan Taylor

Hello.

I want to be able to have an MDI parent form without any menu items. I also
want to have an MDI child form without menu items. However, when I maximize
the MDI child form, I always get a meny bar at the top of the form.

How can I stop this behavior?

Thanks in advance.
Ryan
 
W

webmasta

The reason you get the menu bar is because the min/max/close buttons for the maxed form has to go
somewhere and it cant very well be added to the main title bar or confusion will result.

You have a choice, scrap the MDI scenario and go for SDI... if not having a menu bar is so
important...

or

Max the child to the Form.ClientSize... which will result in the child title bar and min/max/close
buttons butt up under the main title bar which IMO will look more ugly with two title bars across
the top.

~webmasta


| Hello.
|
| I want to be able to have an MDI parent form without any menu items. I also
| want to have an MDI child form without menu items. However, when I maximize
| the MDI child form, I always get a meny bar at the top of the form.
|
| How can I stop this behavior?
|
| Thanks in advance.
| Ryan
|
|
 

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