dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: All
Aug 24, 2000

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


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 = vbMaxmized
End Sub
Stephen Kelly
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Thanks for your registration, follow us on our social networks to keep up-to-date