Ignore:
Timestamp:
Aug 28, 1999, 7:24:45 PM (26 years ago)
Author:
dengert
Message:

reposition child windows when parent height is changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32class.cpp

    r724 r728  
    1 /* $Id: win32class.cpp,v 1.8 1999-08-28 14:09:30 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.9 1999-08-28 17:24:45 dengert Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    8080  nrExtraClassWords     = wndclass->cbClsExtra;
    8181  nrExtraWindowWords    = wndclass->cbWndExtra;
    82   backgroundBrush       = wndclass->hbrBackground;      //TODO: fErase of PAINSTRUCT in WM_PAINT if == NULL
     82  backgroundBrush       = wndclass->hbrBackground;
    8383  hCursor               = wndclass->hCursor;
    8484  hIcon                 = wndclass->hIcon;
     
    137137
    138138  if(wndclass == NULL) {
    139         leaveMutex(OBJTYPE_CLASS);
    140         return(NULL);
     139        leaveMutex(OBJTYPE_CLASS);
     140        return(NULL);
    141141  }
    142142
     
    144144//CB: read comment below!
    145145        if(stricmp(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) {
    146                 leaveMutex(OBJTYPE_CLASS);
     146                leaveMutex(OBJTYPE_CLASS);
    147147                return(wndclass);
    148148        }
     
    151151                while(wndclass != NULL) {
    152152                        if(stricmp(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) {
    153                                 leaveMutex(OBJTYPE_CLASS);
     153                                leaveMutex(OBJTYPE_CLASS);
    154154                                return(wndclass);
    155155                        }
     
    162162//CB: need more code to compare instance; convert 0 to exe module handle
    163163        if(wndclass->classAtom == (DWORD)id /*&& wndclass->hInstance == hInstance*/) {
    164                 leaveMutex(OBJTYPE_CLASS);
     164                leaveMutex(OBJTYPE_CLASS);
    165165                return(wndclass);
    166166        }
     
    169169                while(wndclass != NULL) {
    170170                        if(wndclass->classAtom == (DWORD)id/* && wndclass->hInstance == hInstance*/) {
    171                                 leaveMutex(OBJTYPE_CLASS);
    172                                 return(wndclass);
     171                                leaveMutex(OBJTYPE_CLASS);
     172                                return(wndclass);
    173173                        }
    174174                        wndclass = (Win32WndClass *)wndclass->GetNext();
Note: See TracChangeset for help on using the changeset viewer.