CGlobalUtils::CalcExpectedDockedRect
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.
void CalcExpectedDockedRect(
CPaneContainerManager& barContainerManager,
CWnd* pWndTodock,
CPoint ptMouse,
CRect& rectResult,
BOOL& bDrawTab,
CDockablePane** ppTargetBar
);
Parameters
[in] barContainerManager
[in] pWndTodock
[in] ptMouse
[out] rectResult
[out] bDrawTab
[out] ppTargetBar
Requirements
Header: afxglobalutils.h