When a form size is changed, the margins around the controls in the form may appear to be unbalanced. When the form application is used on very different monitor resolutions, the same problem may also appear. To make the controls automatically centralize while the form is resizing, this following procedure can be used.
Automatically Center the Controls in CFormView
Published 09/25/2001
