MDI, Control box buttons, Maximized, Pict, MainMenu, etc. SOS

G

Guest

Hello,

I make an MDI app.
The parent form has a MainMenu.
The questions:
1. When I open a child form, before the first menu item a picture is shown
(the form picture). How can I hide this picture. (like MS Word 2003)
2. In the menu row the control buttons are shown. How can I hide ONLY the
minimize, maximize and restore down buttons. I need the close button ONLY.
(Like MS Word 2003)

Here is a simple sample: http://vbdotnet.tar.hu/

When I open a MDI child at first time the child window "top row" isn't shown.
When I switch back from any other child from the child form "top row" is
shown.
(top row: about 32 px (MainMenu height), if FormBorderStyle: None. Bad child
position: Top: -36; Left: -4; Good child position: Top: -4; Left: -4)
(see debug Output window in sample)

3. How can I make the child window "top row" shown at the first time too?
4. The Title Bar of the child form can be seen for a moment. How can I avoid
it?

The gool is a MS Word 2003 like MainMenu with Close button and no form
picture.

I use VS 2003.
I can read your help in VB and C#.

thx
mcskf
 

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