I would like to be able to maximize the main mdi parent form of an application to cover the entire screen including the windows task bar. This is a nice option for the user to have from a context menu and not a must have (although I really want to do it hence the question!!)
I have tried the following from a search (idlemind) (plus similar from George Shepard syncfusion.com) but I guess it is not working as my form is an mdi form (i have noticed other things dont work with mdi forms today e.g. trying to dispose of a form during load event)
Dim SR As Rectangle = Screen.PrimaryScreen().GetBounds(New Point(0, 0))
Me.Location = New Point(0, 0)
Me.Size = New Size(SR.Width, SR.Height)
I don't know if this can be done without reams of code so if it isn't going to be concise I will accept an answer to that effect and forget about it. For that reason i am just giving 250 points as I have a feeling the answer will be can't be done without a couple of pages of code to analyse.
PS. I have also tried setting border to none, topmost window etc....
I seem to remember all the above did work before my project became MDI and I was messing about with border styles!