MDI child form without tab

  • Thread starter Thread starter Michael Jackson
  • Start date Start date
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
 
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
 
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:-/
 
Back
Top