Commit fc63491d authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Scroll off-screen controls when scroll rectangle is NULL.

parent da2cd4d0
......@@ -318,7 +318,7 @@ rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags );
for( w =WIN_LockWndPtr(wnd->child); w; WIN_UpdateWndPtr(&w, w->next))
{
CONV_RECT16TO32( &w->rectWindow, &r );
if( IntersectRect(&r, &r, &rc) )
if( !rect || IntersectRect(&r, &r, &rc) )
SetWindowPos(w->hwndSelf, 0, w->rectWindow.left + dx,
w->rectWindow.top + dy, 0,0, SWP_NOZORDER |
SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW |
......
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