Changeset 1307 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Oct 15, 1999, 12:03:16 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r1299 r1307 1 /* $Id: win32wbase.cpp,v 1.4 3 1999-10-14 19:31:32sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.44 1999-10-15 10:03:15 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2258 2258 ULONG magic; 2259 2259 ULONG getcmd = 0; 2260 HWND hwndRelated ;2260 HWND hwndRelated, hwnd; 2261 2261 2262 2262 dprintf(("GetWindow %x %d NOT COMPLETE", getWindowHandle(), uCmd)); 2263 hwnd = OS2Hwnd; 2263 2264 switch(uCmd) 2264 2265 { … … 2268 2269 case GW_HWNDFIRST: 2269 2270 if(getParent()) { 2271 hwnd = getParent()->getOS2WindowHandle(); 2270 2272 getcmd = QWOS_TOP; //top of child windows 2271 2273 } … … 2274 2276 case GW_HWNDLAST: 2275 2277 if(getParent()) { 2278 hwnd = getParent()->getOS2WindowHandle(); 2276 2279 getcmd = QWOS_BOTTOM; //bottom of child windows 2277 2280 } … … 2290 2293 else return 0; 2291 2294 } 2292 hwndRelated = OSLibWinQueryWindow( OS2Hwnd, getcmd);2295 hwndRelated = OSLibWinQueryWindow(hwnd, getcmd); 2293 2296 if(hwndRelated) 2294 2297 { 2298 win32wnd = (Win32BaseWindow *)OSLibWinGetWindowULong(hwndRelated, OFFSET_WIN32WNDPTR); 2299 magic = OSLibWinGetWindowULong(hwndRelated, OFFSET_WIN32PM_MAGIC); 2300 if(CheckMagicDword(magic) && win32wnd) 2301 { 2302 return win32wnd->getWindowHandle(); 2303 } 2304 2305 hwndRelated = OSLibWinWindowFromID(hwndRelated, OSLIB_FID_CLIENT); 2295 2306 win32wnd = (Win32BaseWindow *)OSLibWinGetWindowULong(hwndRelated, OFFSET_WIN32WNDPTR); 2296 2307 magic = OSLibWinGetWindowULong(hwndRelated, OFFSET_WIN32PM_MAGIC);
Note:
See TracChangeset
for help on using the changeset viewer.