Keep Your MDI Form Maximized

MDI forms do not allow you to remove the Min/Normal-Max/X or Control Box.Many times you want the MDI Form to remain in the Maximized state. One way to accomplish this is adding the following line of code to the MDI form’s MDIForm_Resize event.

 Private Sub MDIForm_Resize()	' vbMaximized is equal to 2	Me.WindowState = vbMaxmizedEnd Sub
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: