MDI Child without Min, Max or X

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

I have an MDI child for and I want it to be shown maximized with
preventing the user from clicking on Max, Min or X buttons on the
control box.


Many Thanks,
Jassim Rahma
 
Jassim said:
I have an MDI child for and I want it to be shown maximized with
preventing the user from clicking on Max, Min or X buttons on the
control box.


Many Thanks,
Jassim Rahma

Handle the Load event and do
WindowState = FormWindowState.Maximized;

Set the ControlBox property to false to disable the min, max and close
buttons alltogether, (or handle the appropriate events and set e.Cancel
= true.)

John Davison
Compass Engineering Group
 

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

Similar Threads

Invoke MDI Child by name 3
MDI Child 3
MDI Forms - help 2
Main window location 4
MDI child forms acting strange? 1
maximize the MDI child 4
MDI Application 10
MDI window/parent form docking issue 1

Back
Top