How To : center a CFormView in a SDI app ???
-
How do i get my cformviews to be centered in the CMainFrame ??? I've tried to put a routine in PreCreateWindow but that didn't work ??? If anyone has any suggestion please let me know :) Thanx in advance :)
-
How do i get my cformviews to be centered in the CMainFrame ??? I've tried to put a routine in PreCreateWindow but that didn't work ??? If anyone has any suggestion please let me know :) Thanx in advance :)
You should use a layout manager (see the Dialogs section here at codeproject) to move the controls when the view is resized. It is also possible to resize some of the controls with the view.
-
How do i get my cformviews to be centered in the CMainFrame ??? I've tried to put a routine in PreCreateWindow but that didn't work ??? If anyone has any suggestion please let me know :) Thanx in advance :)