previously maximized. Fixes bug 925.
svn path=/trunk/; revision=18678
Window->Style &= ~WS_MINIMIZE;
if (Window->Flags & WINDOWOBJECT_RESTOREMAX)
{
Window->Style &= ~WS_MINIMIZE;
if (Window->Flags & WINDOWOBJECT_RESTOREMAX)
{
- co_WinPosGetMinMaxInfo(Window, NULL,
- &InternalPos->MaxPos, NULL, &Size);
+ co_WinPosGetMinMaxInfo(Window, &Size,
+ &InternalPos->MaxPos, NULL, NULL);
Window->Style |= WS_MAXIMIZE;
IntGdiSetRect(NewPos, InternalPos->MaxPos.x,
InternalPos->MaxPos.y, Size.x, Size.y);
Window->Style |= WS_MAXIMIZE;
IntGdiSetRect(NewPos, InternalPos->MaxPos.x,
InternalPos->MaxPos.y, Size.x, Size.y);
Swp |= SWP_SHOWWINDOW;
if (!(Window->Style & WS_MAXIMIZE))
{
Swp |= SWP_SHOWWINDOW;
if (!(Window->Style & WS_MAXIMIZE))
{