Click here to Skip to main content
15,936,565 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,
i have created one windows .net application in which i have one MDI form.
Some MDI Child forms are displayed in MAXIMIZED State and some are displayed in NORMAL state.
i m facing one problem that when we open one MAXIMIZED MDI child form and after that if we open NOMRAL form (Still MAXIMIZED Child form is opened) so MAXIMIZED form is getting resized. means its comes back in its NORMAL state.i want that this form should be maximized.
i have set MAXIMIZED form properies like this:

FormBorderStyle=None
MaimizeBox=false
MinimizeBox=false
ControlBox=false
WindowsState=Maximized

thanx n regards
Posted

1 solution

The behaviour you are seeing is standard MDI behaviour. The only 2 ways round this that I know are:
1. Don't use MDI
2. Resize the child forms to the MDIParents clientArea size rather than maximize.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900