Ignore:
Timestamp:
Oct 16, 1999, 4:51:43 PM (26 years ago)
Author:
sandervl
Message:

isFrameWindow bugfix + MDI creation & WM_NCCALCSIZE bugfix

File:
1 edited

Legend:

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

    r1314 r1322  
    1 /* $Id: win32wbase.cpp,v 1.46 1999-10-16 10:28:31 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.47 1999-10-16 14:51:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    11631163//******************************************************************************
    11641164//******************************************************************************
     1165BOOL Win32BaseWindow::isMDIChild()
     1166{
     1167    return FALSE;
     1168}
     1169//******************************************************************************
     1170//TODO: Not complete
     1171//******************************************************************************
    11651172BOOL Win32BaseWindow::isFrameWindow()
    11661173{
    1167     if((getParent() == NULL || getParent() == windowDesktop) && ((dwStyle & WS_CAPTION) == WS_CAPTION))
     1174//    if(isMDIChild() || IsDialog() || (getParent() == NULL || getParent() == windowDesktop) && ((dwStyle & WS_CAPTION) == WS_CAPTION))
     1175    if((dwStyle & WS_CAPTION) == WS_CAPTION || dwStyle & (WS_VSCROLL|WS_HSCROLL))
    11681176        return TRUE;
    11691177
Note: See TracChangeset for help on using the changeset viewer.