- Timestamp:
- Feb 10, 2001, 11:31:31 AM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/gen_object.cpp
r3101 r5083 1 /* $Id: gen_object.cpp,v 1. 6 2000-03-13 13:10:45sandervl Exp $ */1 /* $Id: gen_object.cpp,v 1.7 2001-02-10 10:31:31 sandervl Exp $ */ 2 2 /* 3 3 * Generic Object Class for OS/2 … … 13 13 #include <os2wrap.h> 14 14 #include <stdlib.h> 15 #include <misc.h> 15 16 #include <win32type.h> 16 17 #include <gen_object.h> 17 #include <misc.h>18 18 #include <vmutex.h> 19 19 -
trunk/src/user32/win32class.cpp
r5056 r5083 1 /* $Id: win32class.cpp,v 1.2 0 2001-02-02 19:04:02sandervl Exp $ */1 /* $Id: win32class.cpp,v 1.21 2001-02-10 10:31:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 363 363 AsciiToUnicode(menuNameA, menuNameW); 364 364 } 365 365 366 } 366 367 else {//id … … 482 483 break; 483 484 } 484 SetLastError(ERROR_INVALID_ PARAMETER);485 SetLastError(ERROR_INVALID_INDEX); //verified in NT4, SP6 485 486 if(classNameA) { 486 487 dprintf2(("WARNING: Win32WndClass::setClassLongA %s: %d %x -> wrong INDEX", classNameA, index, lNewVal)); -
trunk/src/user32/win32wbase.cpp
r5074 r5083 1 /* $Id: win32wbase.cpp,v 1.23 3 2001-02-09 18:30:25sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.234 2001-02-10 10:31:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 553 553 } 554 554 555 556 555 //SvL: This completely messes up MS Word 97 (no button bar, no menu) 557 556 #if 0 … … 1889 1888 { 1890 1889 LRESULT rc; 1890 HWND hwnd = getWindowHandle(); 1891 1891 BOOL fInternalMsgBackup = fInternalMsg; 1892 1892 … … 1940 1940 break; 1941 1941 } 1942 if(!::IsWindow(hwnd)) { 1943 //window might have been destroyed by now. (this pointer invalid) 1944 //we must return immediately 1945 //(MS Visual C++ install heap corruption) 1946 //TODO: could happen in several places here!!!! 1947 return rc; 1948 } 1942 1949 fInternalMsg = fInternalMsgBackup; 1943 1950 return rc; … … 1949 1956 { 1950 1957 LRESULT rc; 1958 HWND hwnd = getWindowHandle(); 1951 1959 BOOL fInternalMsgBackup = fInternalMsg; 1952 1960 … … 1987 1995 rc = CallWindowProcW(win32wndproc, getWindowHandle(), Msg, wParam, lParam); 1988 1996 break; 1997 } 1998 if(!::IsWindow(hwnd)) { 1999 //window might have been destroyed by now. (this pointer invalid) 2000 //we must return immediately 2001 //(MS Visual C++ install heap corruption) 2002 //TODO: could happen in several places here!!!! 2003 return rc; 1989 2004 } 1990 2005 fInternalMsg = fInternalMsgBackup;
Note:
See TracChangeset
for help on using the changeset viewer.