We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Want to disable or hide restore button on maximised MDI child form

Thread ID:

Created:

Updated:

Platform:

Replies:

820 Aug 21,2002 05:40 AM Oct 22,2002 09:11 AM Windows Forms 1
loading
Tags: FAQ
Simon M. Sjoeen
Asked On August 21, 2002 05:40 AM

When MDI child forms are maximised, the controlbox icons (minimise, restore and close) are merged into the mainmenu control of the parent window. They are still shown even though controlbox is set to false for the MDI child form. Is it possible to disable or hide the restore icon when MDI child is maximised?

Timur
Replied On October 22, 2002 09:11 AM

Put this Code to resize event: With Me .ControlBox = False .MaximizeBox = False .MinimizeBox = False .WindowState = FormWindowState.Maximized End With I do not know if this a bug, but when you resisze the mdichild it gets this Max and min box back. I hobe this helps > When MDI child forms are maximised, the controlbox icons (minimise, restore and close) are merged into the mainmenu control of the parent window. They are still shown even though controlbox is set to false for the MDI child form. Is it possible to disable or hide the restore icon when MDI child is maximised?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;