Commit 361f9806 authored by Guy L. Albertelli's avatar Guy L. Albertelli Committed by Alexandre Julliard

Trace rectangles returned by GetClientRect and GetWindowRect.

parent ca5757f8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment