- Timestamp:
- Sep 23, 1999, 6:44:33 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/USER32.DEF
r949 r1025 1 ; $Id: USER32.DEF,v 1.1 2 1999-09-15 23:18:47sandervl Exp $1 ; $Id: USER32.DEF,v 1.13 1999-09-23 16:44:32 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 627 627 NativeCreateDlgIP = _NativeCreateDlgIP@24 @2004 628 628 NativeLoadBitmap = _NativeLoadBitmap@8 @2005 629 630 Win32ToOS2Handle__FUl = Win32ToOS2Handle__15Win32BaseWindowFUl @2006 -
trunk/src/user32/heapshared.cpp
r1018 r1025 1 /* $Id: heapshared.cpp,v 1. 2 1999-09-23 14:24:57 phallerExp $ */1 /* $Id: heapshared.cpp,v 1.3 1999-09-23 16:44:32 sandervl Exp $ */ 2 2 /* 3 3 * Shared heap functions for OS/2 … … 115 115 return NULL; 116 116 } 117 for(int j=0; 118 j < *size/PAGE_SIZE; 119 j++) 120 { 117 for(int j=0;j < *size/PAGE_SIZE; j++) 118 { 121 119 pageBitmap[i+j] = 1; //mark as committed 122 120 } -
trunk/src/user32/user32exp.def
r949 r1025 577 577 _NativeCreateDlgIP@24 @2004 578 578 _NativeLoadBitmap@8 @2005 579 Win32ToOS2Handle__FUl @2006 -
trunk/src/user32/win32wbase.cpp
r1005 r1025 1 /* $Id: win32wbase.cpp,v 1. 7 1999-09-22 08:58:35sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.8 1999-09-23 16:44:33 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 192 192 GlobalGetAtomNameA( classAtom, buffer, sizeof(buffer) ); 193 193 dprintf(("Bad class '%s'\n", buffer )); 194 SetLastError(ERROR_INVALID_PARAMETER); 194 195 return 0; 195 196 } … … 304 305 dwExStyle = cs->dwExStyle; 305 306 307 #if 1 308 //SvL: Messes up Z-order of dialog controls 309 hwndLinkAfter = HWND_TOP; 310 #else 306 311 hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) 307 312 ? HWND_BOTTOM : HWND_TOP; 313 #endif 308 314 309 315 #if 0 … … 2173 2179 //****************************************************************************** 2174 2180 //****************************************************************************** 2181 HWND Win32BaseWindow::Win32ToOS2Handle(HWND hwnd) 2182 { 2183 Win32BaseWindow *window = GetWindowFromHandle(hwnd); 2184 2185 if(window) { 2186 return window->getOS2WindowHandle(); 2187 } 2188 else return hwnd; //OS/2 window handle 2189 } 2190 //****************************************************************************** 2191 //****************************************************************************** 2192 HWND Win32BaseWindow::OS2ToWin32Handle(HWND hwnd) 2193 { 2194 Win32BaseWindow *window = GetWindowFromOS2Handle(hwnd); 2195 2196 if(window) { 2197 return window->getWindowHandle(); 2198 } 2199 else return hwnd; //OS/2 window handle 2200 } 2201 //****************************************************************************** 2202 //****************************************************************************** 2175 2203 GenericObject *Win32BaseWindow::windows = NULL; -
trunk/src/user32/win32wbase.h
r1005 r1025 1 /* $Id: win32wbase.h,v 1. 4 1999-09-22 08:58:36sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.5 1999-09-23 16:44:33 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 186 186 BOOL fUnicode = 0); 187 187 188 static HWND Win32ToOS2Handle(HWND hwnd) 189 { 190 Win32BaseWindow *window = GetWindowFromHandle(hwnd); 191 192 if(window) { 193 return window->getOS2WindowHandle(); 194 } 195 else return hwnd; //OS/2 window handle 196 } 197 198 static HWND OS2ToWin32Handle(HWND hwnd) 199 { 200 Win32BaseWindow *window = GetWindowFromOS2Handle(hwnd); 201 202 if(window) { 203 return window->getWindowHandle(); 204 } 205 else return hwnd; //OS/2 window handle 206 } 188 static HWND Win32ToOS2Handle(HWND hwnd); 189 static HWND OS2ToWin32Handle(HWND hwnd); 207 190 208 191 static Win32BaseWindow *GetWindowFromHandle(HWND hwnd);
Note:
See TracChangeset
for help on using the changeset viewer.