MDI child form without tab

M

Michael Jackson

My VS2003 VB.NET app's main form is MDI container. I want to be able to
display a form as an MDI child, but without the close, maximize,maximize
buttons and without the tab associated with it. This form will be used to
display status info, thus should never be closed or selected; just always
there.

Another option would be to set the MDI container area to white, and put
controls on it.

Michael
 
M

Michael Höhne

Hi Michael,

what about writing a custom control and adding it to the main form? Or
create a splitter and place the controls that you want to display on it.
This will shrink the MDI client area and your child forms will never hide
your info controls. If using a standard form, you can set MinimizeBox and
MaximzeBox to false and in the FormClosing event set e.Cancel to true, which
will prevent the form from closing.

Just some ideas.

Michael
 
I

InK_

Hi

If you change ControlBox property of your child form to false the user won't
see windows control buttons.
Thus the user won't have the ability to close window but the icon will not
be displayed too:-/
 

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