internal void TestDrop(IDockDragSource dragSource, DockOutlineBase dockOutline)
{
if (this.VisibleNestedPanes.Count == 1)
{
DockPane pane = this.VisibleNestedPanes[0];
if (!dragSource.CanDockTo(pane))
return;
Point ptMouse = MousePosition;
uint lParam = Win32Helper.MakeLong(ptMouse.X, ptMouse.Y);
if (NativeMethods.SendMessage(Handle, (int)Msgs.WM_NCHITTEST, 0, lParam) == (uint)HitTest.HTCAPTION)
dockOutline.Show(this.VisibleNestedPanes[0], -1);
}
}