This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
virtual void CalcExpectedDockedRect(
   CWnd* pWndToDock,
   CPoint ptMouse,
   CRect& rectResult,
   BOOL& bDrawTab,
   CDockablePane** ppTargetBar
);
Parameters
- [in] pWndToDock 
 
- [in] ptMouse 
 
- [in] rectResult 
 
- [in] bDrawTab 
 
- [in] ppTargetBar 
 
Requirements
Header: afxpanedivider.h