parent
324a7ab8cc
commit
e82a451ec1
|
@ -792,13 +792,13 @@ DockingCont* Gripper::workHitTest(POINT pt, RECT *rc)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
ClientRectToScreenRect(_dockData.hWnd, &rcCont);
|
||||
::MapWindowPoints(_dockData.hWnd, NULL, (LPPOINT)(&rcCont), 2);
|
||||
|
||||
if (::PtInRect(&rcCont, pt) == TRUE)
|
||||
{
|
||||
if (rc != NULL)
|
||||
{
|
||||
ClientRectToScreenRect(_dockData.hWnd, rc);
|
||||
::MapWindowPoints(_dockData.hWnd, NULL, (LPPOINT)(rc), 2);
|
||||
rc->right -= rc->left;
|
||||
rc->bottom -= rc->top;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue