Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize.

oldstable
Ge van Geldorp 2004-05-02 04:21:48 +00:00 committed by Alexandre Julliard
parent 7a6d41ca1c
commit 73d8c97f12
1 changed files with 1 additions and 1 deletions

View File

@ -1276,6 +1276,7 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
x, y, width, height);
SetWindowPos (infoPtr->hwndSelf, 0, x, y, width, height,
SWP_NOZORDER);
infoPtr->fStatus &= ~AUTO_RESIZE;
}
@ -4484,7 +4485,6 @@ REBAR_Size (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
REBAR_Layout (infoPtr, &rcClient, TRUE, TRUE);
infoPtr->fStatus &= ~AUTO_RESIZE;
return 0;
}