Introduction - If you have any usage issues, please Google them yourself
Have you ever wondered how to get the MDI Child Frame windows in your MDI application to appear centered in the client area of the main frame window? Have you tried using CenterWindow(), but found that the window still isn t centered properly? This article shows you how, and we also talk about the ways of keeping child windows centered, even if the user moves or resizes the main window, or shows or hides the toolbar(s) and status bar.
Packet : 85375558centermdiwnd_demo.zip filelist
CenterMDIWnd_demo/
CenterMDIWnd_demo/CenterMDIWnd.aps
CenterMDIWnd_demo/CenterMDIWnd.cpp
CenterMDIWnd_demo/CenterMDIWnd.dsp
CenterMDIWnd_demo/CenterMDIWnd.dsw
CenterMDIWnd_demo/CenterMDIWnd.h
CenterMDIWnd_demo/CenterMDIWnd.rc
CenterMDIWnd_demo/CenterMDIWndDoc.cpp
CenterMDIWnd_demo/CenterMDIWndDoc.h
CenterMDIWnd_demo/CenterMDIWndView.cpp
CenterMDIWnd_demo/CenterMDIWndView.h
CenterMDIWnd_demo/ChildFrm.cpp
CenterMDIWnd_demo/ChildFrm.h
CenterMDIWnd_demo/MainFrm.cpp
CenterMDIWnd_demo/MainFrm.h
CenterMDIWnd_demo/ReadMe.txt
CenterMDIWnd_demo/Release/
CenterMDIWnd_demo/res/
CenterMDIWnd_demo/Resource.h
CenterMDIWnd_demo/res/CenterMDIWnd.ico
CenterMDIWnd_demo/res/CenterMDIWnd.rc2
CenterMDIWnd_demo/res/CenterMDIWndDoc.ico
CenterMDIWnd_demo/res/mainwnd.jpg
CenterMDIWnd_demo/res/Toolbar.bmp
CenterMDIWnd_demo/StdAfx.cpp
CenterMDIWnd_demo/StdAfx.h