Trace rectangles returned by GetClientRect and GetWindowRect.

This commit is contained in:
Guy L. Albertelli 2001-07-20 17:58:41 +00:00 committed by Alexandre Julliard
parent ca5757f8c5
commit 361f980659
1 changed files with 4 additions and 0 deletions

View File

@ -211,6 +211,8 @@ BOOL WINAPI GetWindowRect( HWND hwnd, LPRECT rect )
if (wndPtr->parent)
MapWindowPoints( wndPtr->parent->hwndSelf, 0, (POINT *)rect, 2 );
WIN_ReleaseWndPtr(wndPtr);
TRACE("hwnd %04x (%d,%d)-(%d,%d)\n",
hwnd, rect->left, rect->top, rect->right, rect->bottom);
return TRUE;
}
@ -317,6 +319,8 @@ BOOL WINAPI GetClientRect( HWND hwnd, LPRECT rect )
rect->bottom = wndPtr->rectClient.bottom - wndPtr->rectClient.top;
WIN_ReleaseWndPtr(wndPtr);
TRACE("hwnd %04x (%d,%d)-(%d,%d)\n",
hwnd, rect->left, rect->top, rect->right, rect->bottom);
return TRUE;
}