Changeset 1704 for trunk/src/user32/window.cpp
- Timestamp:
- Nov 11, 1999, 2:17:33 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r1606 r1704 1 /* $Id: window.cpp,v 1.3 3 1999-11-05 09:16:22 sandervl Exp $ */1 /* $Id: window.cpp,v 1.34 1999-11-11 13:17:32 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 1141 1141 { 1142 1142 dprintf(("USER32: ChildWindowFromPoint\n")); 1143 // return O32_ChildWindowFromPoint(arg1, arg2);1144 1143 return ChildWindowFromPointEx(hwnd, pt, 0); 1145 1144 } … … 1304 1303 return (0); 1305 1304 } 1306 /***************************************************************************** 1307 * Name : BOOL WIN32API SwitchToThisWindow 1308 * Purpose : Unknown 1309 * Parameters: Unknown 1310 * Variables : 1311 * Result : 1312 * Remark : 1313 * Status : UNTESTED UNKNOWN STUB 1314 * 1315 * Author : Patrick Haller [Wed, 1998/06/16 11:55] 1316 *****************************************************************************/ 1317 1318 BOOL WIN32API SwitchToThisWindow(HWND hwnd, 1319 BOOL x2) 1320 { 1321 dprintf(("USER32: SwitchToThisWindow(%08xh,%08xh) not implemented.\n", 1322 hwnd, 1323 x2)); 1324 1325 return (FALSE); /* default */ 1305 /*********************************************************************** 1306 * SwitchToThisWindow (USER32.539) 1307 */ 1308 DWORD WINAPI SwitchToThisWindow( HWND hwnd, BOOL restore ) 1309 { 1310 return ShowWindow( hwnd, restore ? SW_RESTORE : SW_SHOWMINIMIZED ); 1326 1311 } 1327 1312 //****************************************************************************** … … 1433 1418 BOOL WIN32API OpenIcon(HWND hwnd) 1434 1419 { 1435 #ifdef DEBUG 1436 WriteLog("USER32: OpenIcon\n"); 1437 #endif 1420 dprintf(("USER32: OpenIcon")); 1421 1438 1422 if(!IsIconic(hwnd)) 1439 1423 return FALSE; … … 1450 1434 //****************************************************************************** 1451 1435 //****************************************************************************** 1452 1436 HWND WIN32API GetForegroundWindow(void) 1437 { 1438 dprintf(("USER32: GetForegroundWindow")); 1439 return Win32BaseWindow::OS2ToWin32Handle(O32_GetForegroundWindow()); 1440 } 1441 //****************************************************************************** 1442 //****************************************************************************** 1443 HWND WIN32API GetLastActivePopup( HWND hWnd) 1444 { 1445 dprintf(("USER32: GetLastActivePopup")); 1446 hWnd = Win32BaseWindow::Win32ToOS2Handle(hWnd); 1447 1448 return Win32BaseWindow::OS2ToWin32Handle(O32_GetLastActivePopup(hWnd)); 1449 } 1450 //****************************************************************************** 1451 //****************************************************************************** 1452 DWORD WIN32API GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId) 1453 { 1454 dprintf(("USER32: GetWindowThreadProcessId")); 1455 hWnd = Win32BaseWindow::Win32ToOS2Handle(hWnd); 1456 1457 return O32_GetWindowThreadProcessId(hWnd,lpdwProcessId); 1458 } 1459 //****************************************************************************** 1460 //****************************************************************************** 1461 DWORD WIN32API GetWindowContextHelpId(HWND hwnd) 1462 { 1463 dprintf(("USER32: GetWindowContextHelpId, not implemented\n")); 1464 hwnd = Win32BaseWindow::Win32ToOS2Handle(hwnd); 1465 1466 return(0); 1467 } 1468 //****************************************************************************** 1469 //****************************************************************************** 1470 BOOL WIN32API SetWindowContextHelpId(HWND hwnd, DWORD dwContextHelpId) 1471 { 1472 dprintf(("USER32: SetWindowContextHelpId, not implemented")); 1473 hwnd = Win32BaseWindow::Win32ToOS2Handle(hwnd); 1474 1475 return(TRUE); 1476 } 1477 //****************************************************************************** 1478 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.