- Timestamp:
- Apr 7, 2002, 11:37:35 PM (23 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r8132 r8210 1 /* $Id: win32wbase.cpp,v 1.32 1 2002-03-28 16:20:06sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.322 2002-04-07 21:37:34 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2998 2998 BOOL rc; 2999 2999 HWND hwnd = WNDHANDLE_MAGIC_HIGHWORD; 3000 DWORD dwStyle; 3000 3001 3001 3002 dprintf(("EnumWindows %x %x", lpfn, lParam)); … … 3003 3004 for(int i=0;i<MAX_WINDOW_HANDLES;i++) 3004 3005 { 3005 window = GetWindowFromHandle(hwnd++); 3006 if(window) 3007 { 3008 if ((window->getStyle() & WS_POPUP) || ((window->getStyle() & WS_CAPTION) == WS_CAPTION)) 3006 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 3007 if(window) { 3008 if(window->getWindowHandle() != hwnd) { 3009 dprintf(("CORRUPT WINDOW %x %x", window, hwnd)); 3010 } 3011 RELEASE_WNDOBJ(window); 3012 dwStyle = ::GetWindowLongA(hwnd, GWL_STYLE); 3013 if ((dwStyle & WS_POPUP) || ((dwStyle & WS_CAPTION) == WS_CAPTION)) 3009 3014 { 3010 dprintf2(("EnumWindows: Found Window %x", window->getWindowHandle()));3011 if((rc = lpfn( window->getWindowHandle(), lParam)) == FALSE) {3015 dprintf2(("EnumWindows: Found Window %x", hwnd)); 3016 if((rc = lpfn(hwnd, lParam)) == FALSE) { 3012 3017 break; 3013 3018 } 3014 3019 } 3015 RELEASE_WNDOBJ(window); 3016 } 3017 } 3018 if(window) RELEASE_WNDOBJ(window); 3020 } 3021 hwnd++; 3022 } 3019 3023 return TRUE; 3020 3024 } -
trunk/src/user32/win32wdesktop.cpp
r6241 r8210 1 /* $Id: win32wdesktop.cpp,v 1.1 8 2001-07-08 07:15:09sandervl Exp $ */1 /* $Id: win32wdesktop.cpp,v 1.19 2002-04-07 21:37:35 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Desktop Window for OS/2 … … 55 55 rectClient = rectWindow; 56 56 57 if(HwAllocateWindowHandle(&Win32Hwnd, (ULONG)this) == FALSE)58 {59 dprintf(("Win32BaseWindow::Init HwAllocateWindowHandle failed!!"));60 DebugInt3();61 }62 57 dprintf(("Desktop window %x", Win32Hwnd)); 63 58 -
trunk/src/user32/win32wndhandle.cpp
r8202 r8210 1 /* $Id: win32wndhandle.cpp,v 1.1 1 2002-04-07 14:37:00sandervl Exp $ */1 /* $Id: win32wndhandle.cpp,v 1.12 2002-04-07 21:37:35 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 73 73 lastIndex++; 74 74 DosLeaveCriticalSection(&globalwhandlecritsect); 75 dprintf2(("HwAllocateWindowHandle %x", *hwnd)); 75 76 return TRUE; 76 77 } … … 85 86 DosLeaveCriticalSection(&globalwhandlecritsect); 86 87 } 88 dprintf2(("HwFreeWindowHandle %x", hwnd)); 87 89 } 88 90 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.