henkeponken
asked on
Property "Controlbox = false" doesn't work in maximized MDI-children forms.
Hey!
I have a windows form-problem. In my solution I have an MDI-parent and in that form I want to load different MDI-children. I don't want the child-forms to have a ControlBox, minimize-button or maximizebutton, so I just set theese properties to false and they're gone. BUT if the windowstate originally is set to maximized (which I want it to be) the buttons reappear! Is there a workaround?
Plz help me out!
Regards
I have a windows form-problem. In my solution I have an MDI-parent and in that form I want to load different MDI-children. I don't want the child-forms to have a ControlBox, minimize-button or maximizebutton, so I just set theese properties to false and they're gone. BUT if the windowstate originally is set to maximized (which I want it to be) the buttons reappear! Is there a workaround?
Plz help me out!
Regards
You can improve it a little bit by setting the FormBorderStyle to none. Then the buttons disappear but the control box still remains and the restore command is inside it....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is the solution:
http://archive.devx.com/free/tips/tipview.asp?content_id=3928
You should set the title text of the child form to "". Then the whole title bar disappers!
http://archive.devx.com/free/tips/tipview.asp?content_id=3928
You should set the title text of the child form to "". Then the whole title bar disappers!