Center a Form on Multi-Monitor Desktops

Category:
Screen/Graphics
Type:
Classes
Difficulty:
Intermediate
Author:
Bingo Taruc

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This application centers the form, or the "FormToCenter", on the monitor that the "ReferenceForm" is on. If the ReferenceForm is omitted, the FormToCenter is centered on the primary monitor. It uses the Microsoft class from multimon.exe

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download multi-monitorformcentering.zip