(resend) REBAR_ShowBand fix

Matt Chapman matthewc at cse.unsw.edu.au
Thu Feb 26 05:56:09 CST 2004


REBAR_ShowBand needs to force layout of the rebar after a band
is hidden/unhidden.

Matt

-------------- next part --------------
Index: rebar.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/rebar.c,v
retrieving revision 1.83
diff -u -r1.83 rebar.c
@@ -3746,6 +3743,7 @@
 	    ShowWindow (lpBand->hwndChild, SW_HIDE);
     }
 
+    infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
     REBAR_Layout (infoPtr, NULL, TRUE, FALSE);
     InvalidateRect(infoPtr->hwndSelf, 0, 1);
 


More information about the wine-patches mailing list