CWnd::OnChildActivate 

afx_msg void OnChildActivate( );

Remarks

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.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::SetWindowPos, WM_CHILDACTIVATE