Accept SIZE_MAXIMIZED as one of statuses of MDI windows

Dmitry Timoshkov dmitry at baikal.ru
Wed Aug 6 22:14:44 CDT 2003


"Alexandre Julliard" <julliard at winehq.org> wrote:

> > @@ -1070,9 +1072,10 @@ STATUSBAR_WMSize (STATUSWINDOWINFO *info
> >      width = parent_rect.right - parent_rect.left;
> >      x = parent_rect.left;
> >      y = parent_rect.bottom - infoPtr->height;
> > -    MoveWindow (infoPtr->Self, parent_rect.left,
> > - parent_rect.bottom - infoPtr->height,
> > - width, infoPtr->height, TRUE);
> > +    SetWindowPos(infoPtr->Self, HWND_TOP,
> > +                 parent_rect.left, parent_rect.bottom - infoPtr->height,
> > +                 width, infoPtr->height, SWP_NOZORDER);
> > +
> 
> What is this change for?

HWND_TOP of course should be replaced by 0 since SWP_NOZORDER
is specified. The change is aimed to be a simple optimization.
If you don't like this part, just ignore it.

-- 
Dmitry.





More information about the wine-devel mailing list