mdi scrollbars (unix version; sorry about the DOS version)

Medland, Bill Bill.Medland at accpac.com
Wed May 16 14:20:36 CDT 2001


Bill Medland <medbi01 at accpac.com>
Only measure child rectangles of visible children when deciding
about scroll bars.
 <<mdi.txt>> 
-------------- next part --------------
Gerard suggests I mention: Apply as -p0 from the level above the wine directory
(or -p1 from the wine directory)

Bill Medland <medbi01 at accpac.com>
Only measure child rectangles of visible children when deciding
about scroll bars.
 
Index: wine/windows/mdi.c
===================================================================
RCS file: /home/wine/wine/windows/mdi.c,v
retrieving revision 1.75
diff -u -r1.75 mdi.c
--- wine/windows/mdi.c	2001/04/27 18:03:51	1.75
+++ wine/windows/mdi.c	2001/05/15 21:40:43
@@ -2243,7 +2243,8 @@
               WIN_ReleaseWndPtr(Wnd);
 	      return;
 	  }
-	  UnionRect( &childRect, &pWnd->rectWindow, &childRect );
+          else if( pWnd->dwStyle & WS_VISIBLE )
+	      UnionRect( &childRect, &pWnd->rectWindow, &childRect );
     } 
     WIN_ReleaseWndPtr(pWnd);
     UnionRect( &childRect, &clientRect, &childRect );


More information about the wine-patches mailing list