MDI Child without Min, Max or X

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
 
J

John Davison

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

MDI Child 3
Invoke MDI Child by name 3
MDI Forms - help 2
MDI child forms acting strange? 1
How to maximize MDI child? 1
mdi maximized child mainmenu bug 3
MDI Application 10
MDI Forms using MainMenu 1

Top