Ignore:
Timestamp:
Mar 18, 2002, 4:26:30 PM (23 years ago)
Author:
sandervl
Message:

PF: CloseWindow + GetWindowPlacement change/fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r8042 r8101  
    1 /* $Id: win32wbase.cpp,v 1.316 2002-03-07 19:41:18 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.317 2002-03-18 15:26:30 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    26532653   wndpl->ptMaxPosition    = windowpos.ptMaxPosition;
    26542654   //Must be in parent coordinates (or screen if no parent); verified in NT4, SP6
    2655    wndpl->rcNormalPosition = rectWindow;
     2655   wndpl->rcNormalPosition = windowpos.rcNormalPosition;
    26562656
    26572657   return TRUE;
     
    33483348BOOL Win32BaseWindow::CloseWindow()
    33493349{
    3350   return OSLibWinMinimizeWindow(getOS2FrameWindowHandle());
     3350     if (::GetWindowLongW( getWindowHandle() , GWL_STYLE ) & WS_CHILD) return FALSE;
     3351     ShowWindow( SW_MINIMIZE );
     3352     return TRUE;
    33513353}
    33523354//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.