Changeset 1025 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Sep 23, 1999, 6:44:33 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.