- Timestamp:
- May 10, 2000, 3:14:44 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r3488 r3513 1 /* $Id: oslibwin.cpp,v 1.7 5 2000-05-03 18:35:51sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.76 2000-05-10 13:14:42 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 329 329 //****************************************************************************** 330 330 //****************************************************************************** 331 BOOLOSLibWinQueryActiveWindow()331 HWND OSLibWinQueryActiveWindow() 332 332 { 333 333 return WinQueryActiveWindow(HWND_DESKTOP); -
trunk/src/user32/oslibwin.h
r3488 r3513 1 /* $Id: oslibwin.h,v 1.4 2 2000-05-03 18:35:52sandervl Exp $ */1 /* $Id: oslibwin.h,v 1.43 2000-05-10 13:14:43 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 214 214 BOOL OSLibWinIsWindowEnabled(HWND hwnd); 215 215 BOOL OSLibWinIsWindowVisible(HWND hwnd); 216 BOOLOSLibWinQueryActiveWindow();216 HWND OSLibWinQueryActiveWindow(); 217 217 218 218 -
trunk/src/user32/win32wbase.cpp
r3501 r3513 1 /* $Id: win32wbase.cpp,v 1.18 5 2000-05-09 18:56:58sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.186 2000-05-10 13:14:43 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2695 2695 } 2696 2696 //****************************************************************************** 2697 //TODO: Not be 100% correct; should return active window of current thread 2698 // or NULL when there is none -> WinQueryActiveWindow just returns 2699 // the current active window 2697 2700 //****************************************************************************** 2698 2701 HWND Win32BaseWindow::GetActiveWindow() -
trunk/src/user32/window.cpp
r3501 r3513 1 /* $Id: window.cpp,v 1.6 6 2000-05-09 18:56:59sandervl Exp $ */1 /* $Id: window.cpp,v 1.67 2000-05-10 13:14:44 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 775 775 dprintf((" SetForegroundWindow %x", hwnd)); 776 776 777 return SetWindowPos( hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);777 return SetWindowPos( hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); 778 778 } 779 779 //****************************************************************************** … … 1422 1422 HWND WIN32API GetForegroundWindow(void) 1423 1423 { 1424 dprintf(("USER32: GetForegroundWindow")); 1425 return Win32BaseWindow::OS2ToWin32Handle(O32_GetForegroundWindow()); 1424 HWND hwnd; 1425 1426 hwnd = Win32BaseWindow::OS2ToWin32Handle(OSLibWinQueryActiveWindow()); 1427 dprintf(("USER32: GetForegroundWindow returned %x", hwnd)); 1428 return hwnd; 1426 1429 } 1427 1430 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.