Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Please suggest me that how to removed child form title icon when child form maximized in MDI form . Please find the image linked with red mark.

View Screenshot

Thanks
Ram Kumar

What I have tried:

I have tried every thing option and search on internet but nothing have find any solutions.
Posted
Updated 12-May-20 10:55am
Comments
M4rLask 4-Aug-18 11:53am    
It has to work this way, because Windows does not have any other place to put these buttons. Anyway if you want to hide the icon you can do it from code, when your MDI form is loaded or when you change status to maximized by adding this code

{
this.ControlBox = false;
}

Note : With this option you must create a button or shortcut to close your MDI form.

You can also try Devexpress's XtraTabbedMdiManager control,do what you want in a very easy way, in addition to many other configuration options.
Ram Kumar(Webunitech) 21-Aug-18 3:27am    
Hi. I have done using set menustrip to main mdi form.
Thanks for your suggestion

1 solution

only
set child form
add
Me.MaximizeBox = False
to form on load

Private Sub frmForm1_Load(sender As Object, e As EventArgs) Handles Me.Load
    Me.MaximizeBox = False
End Sub
 
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