Changeset 4848 for trunk/src/user32/window.cpp
- Timestamp:
- Dec 29, 2000, 7:41:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r4825 r4848 1 /* $Id: window.cpp,v 1.8 5 2000-12-17 15:04:13sandervl Exp $ */1 /* $Id: window.cpp,v 1.86 2000-12-29 18:40:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 37 37 #include <win\win.h> 38 38 #include <heapstring.h> 39 #include <winuser32.h> 39 40 40 41 #define DBG_LOCALLOG DBG_window … … 669 670 BOOL activate; 670 671 671 hwnd_O = Win32 BaseWindow::Win32ToOS2Handle (hwnd);672 hwnd_O = Win32ToOS2Handle (hwnd); 672 673 lastFocus = OSLibWinQueryFocus (OSLIB_HWND_DESKTOP); 673 674 activate = ((hwnd_O == lastFocus) || OSLibWinIsChild (lastFocus, hwnd_O)); 674 lastFocus_W = Win32BaseWindow::OS2ToWin32Handle (lastFocus);675 lastFocus_W = OS2ToWin32Handle (lastFocus); 675 676 676 677 dprintf(("SetFocus %x (%x) -> %x (%x)\n", lastFocus_W, lastFocus, hwnd, hwnd_O)); … … 685 686 686 687 hwnd = OSLibWinQueryFocus(OSLIB_HWND_DESKTOP); 687 hwnd = Win32BaseWindow::OS2ToWin32Handle(hwnd);688 hwnd = OS2ToWin32Handle(hwnd); 688 689 dprintf(("USER32: GetFocus %x\n", hwnd)); 689 690 return hwnd; … … 705 706 { 706 707 dprintf(("USER32: LockWindowUpdate %x", hwnd)); 707 return OSLibWinLockWindowUpdate(Win32 BaseWindow::Win32ToOS2Handle(hwnd));708 return OSLibWinLockWindowUpdate(Win32ToOS2Handle(hwnd)); 708 709 } 709 710 //****************************************************************************** … … 1148 1149 { 1149 1150 dprintf(("FlashWindow %x %d\n", hwnd, fFlash)); 1150 // return OSLibWinFlashWindow(Win32 BaseWindow::Win32ToOS2Handle(hwnd), fFlash);1151 // return OSLibWinFlashWindow(Win32ToOS2Handle(hwnd), fFlash); 1151 1152 return 1; 1152 1153 } … … 1521 1522 if(hwndOS2) 1522 1523 { 1523 hwnd = Win32BaseWindow::OS2ToWin32Handle(hwndOS2);1524 hwnd = OS2ToWin32Handle(hwndOS2); 1524 1525 if(hwnd) { 1525 1526 dprintf(("WindowFromPoint (%d,%d) %x->%x\n", point.x, point.y, hwndOS2, hwnd)); … … 1591 1592 { 1592 1593 dprintf(("USER32: ArrangeIconicWindows %x", hwnd)); 1593 return O32_ArrangeIconicWindows(Win32 BaseWindow::Win32ToOS2Handle(hwnd));1594 return O32_ArrangeIconicWindows(Win32ToOS2Handle(hwnd)); 1594 1595 } 1595 1596 //****************************************************************************** … … 1666 1667 HWND hwnd; 1667 1668 1668 hwnd = Win32BaseWindow::OS2ToWin32Handle(OSLibWinQueryActiveWindow());1669 hwnd = OS2ToWin32Handle(OSLibWinQueryActiveWindow()); 1669 1670 dprintf(("USER32: GetForegroundWindow returned %x", hwnd)); 1670 1671 return hwnd; … … 1676 1677 HWND hwnd; 1677 1678 1678 hwnd = Win32 BaseWindow::Win32ToOS2Handle(hWnd);1679 hwnd = Win32BaseWindow::OS2ToWin32Handle(O32_GetLastActivePopup(hwnd));1679 hwnd = Win32ToOS2Handle(hWnd); 1680 hwnd = OS2ToWin32Handle(O32_GetLastActivePopup(hwnd)); 1680 1681 1681 1682 dprintf(("GetLastActivePopup %x returned %x NOT CORRECTLY IMPLEMENTED", hWnd, hwnd)); … … 1687 1688 { 1688 1689 dprintf2(("USER32: GetWindowThreadProcessId")); 1689 hWnd = Win32 BaseWindow::Win32ToOS2Handle(hWnd);1690 hWnd = Win32ToOS2Handle(hWnd); 1690 1691 1691 1692 return O32_GetWindowThreadProcessId(hWnd,lpdwProcessId);
Note:
See TracChangeset
for help on using the changeset viewer.