Remove Max and Min Buttons on MDI Forms

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
MDI forms don't have MinButton and MaxButton properties, so you can use these functions to remove them from the MDI form. Pass the MDIForm itself as the parameter.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: