Changeset 1513 for trunk/src/user32/window.cpp
- Timestamp:
- Oct 30, 1999, 11:19:47 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/window.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r1482 r1513 1 /* $Id: window.cpp,v 1.2 6 1999-10-27 18:25:24sandervl Exp $ */1 /* $Id: window.cpp,v 1.27 1999-10-30 09:19:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 47 47 return CreateMDIWindowA(className, windowName, style, x, y, width, height, parent, instance, (LPARAM)data); 48 48 49 #if 1 50 /* Find the class atom */ 51 if (!(classAtom = GlobalFindAtomA(className))) 52 { 53 if (!HIWORD(className)) 54 dprintf(("CreateWindowEx32A: bad class name %04x\n",LOWORD(className))); 55 else 56 dprintf(("CreateWindowEx32A: bad class name '%s'\n", className)); 57 58 SetLastError(ERROR_INVALID_PARAMETER); 59 return 0; 60 } 61 62 if (!HIWORD(className)) 63 { 64 sprintf(tmpClass,"#%d", (int) className); 65 className = tmpClass; 66 } 67 #else 49 68 /* Find the class atom */ 50 69 if (!HIWORD(className) || !(classAtom = GlobalFindAtomA(className))) … … 67 86 } 68 87 } 69 88 #endif 70 89 /* Create the window */ 71 90 cs.lpCreateParams = data;
Note:
See TracChangeset
for help on using the changeset viewer.
