CWnd::OnChildActivate
If the CWnd object is a multiple document interface (MDI) child window, OnChildActivate is called by the framework when the user clicks the window's title bar or when the window is activated, moved, or sized.
afx_msg void OnChildActivate( );
Requirements
Header: afxwin.h