Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have no idea how to disable the resize function of child form.
i already used max, min and formborderstyle to fixedsingle fized3d and fizeddialogue. but unable to restrict resize of form. kindly share the code to restrict resize the form.

What I have tried:

i already used max, min and formborderstyle to fixedsingle fized3d and fizeddialogue. but unable to restrict resize of form. kindly share the code to restrict resize the form.
Posted
Updated 9-Aug-17 8:24am
Comments
Dave Kreskowiak 8-Aug-17 12:50pm    
If you're doing this why are you even using MDI? You're trying to use MDI for a purpose which it was not designed for.

1 solution

For me FormBorderStyle = FixedSingle on the MDI Child works fine to restrict user resize. To restrict resize via Maximize you could also set MaximizeBox = False.
 
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