- Timestamp:
- Jan 12, 2002, 10:58:36 AM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/USER32.DEF
r6902 r7762 1 ; $Id: USER32.DEF,v 1.6 7 2001-09-30 22:24:40sandervl Exp $1 ; $Id: USER32.DEF,v 1.68 2002-01-12 09:55:51 sandervl Exp $ 2 2 3 3 LIBRARY USER32 INITINSTANCE TERMINSTANCE … … 697 697 _IsSystemPen@4 @2027 NONAME 698 698 699 _CreateFakeWindowEx@ 4@2028 NONAME699 _CreateFakeWindowEx@8 @2028 NONAME 700 700 _checkOrigin@4 @2029 NONAME 701 701 -
trunk/src/user32/win32wbase.cpp
r7734 r7762 1 /* $Id: win32wbase.cpp,v 1.3 09 2002-01-07 11:18:10sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.310 2002-01-12 09:55:51 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 4 4 * 5 * Copyright 1998-200 1Sander van Leeuwen (sandervl@xs4all.nl)5 * Copyright 1998-2002 Sander van Leeuwen (sandervl@xs4all.nl) 6 6 * Copyright 1999 Daniela Engert (dani@ngrt.de) 7 7 * Copyright 1999-2000 Christoph Bratschi (cbratschi@datacomm.ch) … … 115 115 //****************************************************************************** 116 116 //****************************************************************************** 117 Win32BaseWindow::Win32BaseWindow(HWND hwndOS2, ULONG reserved)117 Win32BaseWindow::Win32BaseWindow(HWND hwndOS2, ATOM classAtom) 118 118 : GenericObject(&windows, &critsect), ChildWindow(&critsect) 119 119 { 120 Init(); 121 OS2Hwnd = hwndOS2; 120 Init(); 121 OS2Hwnd = OS2HwndFrame = hwndOS2; 122 123 /* Find the window class */ 124 windowClass = Win32WndClass::FindClass(NULL, (LPSTR)classAtom); 125 if (!windowClass) 126 { 127 char buffer[32]; 128 GlobalGetAtomNameA( classAtom, buffer, sizeof(buffer) ); 129 dprintf(("Bad class '%s'", buffer )); 130 DebugInt3(); 131 } 132 133 //Allocate window words 134 nrUserWindowBytes = windowClass->getExtraWndBytes(); 135 if(nrUserWindowBytes) { 136 userWindowBytes = (char *)_smalloc(nrUserWindowBytes); 137 memset(userWindowBytes, 0, nrUserWindowBytes); 138 } 139 140 WINPROC_SetProc((HWINDOWPROC *)&win32wndproc, windowClass->getWindowProc(), WINPROC_GetProcType(windowClass->getWindowProc()), WIN_PROC_WINDOW); 141 hInstance = NULL; 142 dwStyle = WS_VISIBLE; 143 dwOldStyle = dwStyle; 144 dwExStyle = 0; 122 145 } 123 146 //****************************************************************************** -
trunk/src/user32/win32wbase.h
r7734 r7762 1 /* $Id: win32wbase.h,v 1.13 6 2002-01-07 11:18:11sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.137 2002-01-12 09:55:52 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 136 136 Win32BaseWindow(); 137 137 Win32BaseWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL isUnicode); 138 Win32BaseWindow(HWND hwndOS2, ULONG reserved);138 Win32BaseWindow(HWND hwndOS2, ATOM classAtom); 139 139 140 140 virtual ~Win32BaseWindow(); -
trunk/src/user32/window.cpp
r7248 r7762 1 /* $Id: window.cpp,v 1.11 3 2001-10-28 15:24:16sandervl Exp $ */1 /* $Id: window.cpp,v 1.114 2002-01-12 09:55:52 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 263 263 //****************************************************************************** 264 264 //****************************************************************************** 265 ODINFUNCTION 1(HWND, CreateFakeWindowEx,266 HWND, hwndOS2 )265 ODINFUNCTION2(HWND, CreateFakeWindowEx, 266 HWND, hwndOS2, ATOM, classAtom) 267 267 { 268 268 Win32BaseWindow *window; 269 269 270 window = new Win32BaseWindow(hwndOS2, 0);270 window = new Win32BaseWindow(hwndOS2, classAtom); 271 271 if(window == NULL) 272 272 {
Note:
See TracChangeset
for help on using the changeset viewer.