Changeset 2948 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Feb 29, 2000, 8:16:12 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r2881 r2948 1 /* $Id: win32wbase.cpp,v 1.1 69 2000-02-24 19:19:08sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.170 2000-02-29 19:16:12 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2569 2569 { 2570 2570 HWND hwndActive; 2571 Win32BaseWindow *win32wnd;2572 ULONG magic;2573 2571 2574 2572 dprintf(("SetActiveWindow %x", getWindowHandle())); 2575 hwndActive = OSLibWinSetActiveWindow(OS2HwndFrame); 2576 win32wnd = (Win32BaseWindow *)OSLibWinGetWindowULong(hwndActive, OFFSET_WIN32WNDPTR); 2577 magic = OSLibWinGetWindowULong(hwndActive, OFFSET_WIN32PM_MAGIC); 2578 if(CheckMagicDword(magic) && win32wnd) 2579 { 2580 return win32wnd->getWindowHandle(); 2581 } 2582 return windowDesktop->getWindowHandle(); //pretend the desktop was active 2573 if(OSLibWinSetActiveWindow(OS2HwndFrame) == FALSE) { 2574 dprintf(("OSLibWinSetActiveWindow %x returned FALSE!", OS2HwndFrame)); 2575 } 2576 hwndActive = GetActiveWindow(); 2577 return (hwndActive) ? hwndActive : windowDesktop->getWindowHandle(); //pretend the desktop was active 2583 2578 } 2584 2579 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.