Changeset 1839 for trunk/src/user32/window.cpp
- Timestamp:
- Nov 25, 1999, 8:22:04 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/window.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/window.cpp
r1799 r1839 1 /* $Id: window.cpp,v 1.3 7 1999-11-21 16:22:14 achimhaExp $ */1 /* $Id: window.cpp,v 1.38 1999-11-25 19:22:04 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 1120 1120 pDWP = (DWP *) hdwp; 1121 1121 if (!pDWP) { 1122 dprintf(("**EndDeferWindowPos invalid parameter\n"));1122 dprintf(("**EndDeferWindowPos invalid parameter\n")); 1123 1123 SetLastError(ERROR_INVALID_PARAMETER); 1124 1124 return FALSE; … … 1462 1462 DWORD WIN32API GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId) 1463 1463 { 1464 dprintf (("USER32: GetWindowThreadProcessId"));1464 dprintf2(("USER32: GetWindowThreadProcessId")); 1465 1465 hWnd = Win32BaseWindow::Win32ToOS2Handle(hWnd); 1466 1466 … … 1471 1471 DWORD WIN32API GetWindowContextHelpId(HWND hwnd) 1472 1472 { 1473 dprintf(("USER32: GetWindowContextHelpId, not implemented\n")); 1474 hwnd = Win32BaseWindow::Win32ToOS2Handle(hwnd); 1475 1476 return(0); 1473 Win32BaseWindow *window; 1474 1475 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 1476 if(!window) { 1477 dprintf(("GetWindowContextHelpId, window %x not found", hwnd)); 1478 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 1479 return 0; 1480 } 1481 dprintf(("GetWindowContextHelpId %x", hwnd)); 1482 return window->getWindowContextHelpId(); 1477 1483 } 1478 1484 //****************************************************************************** … … 1480 1486 BOOL WIN32API SetWindowContextHelpId(HWND hwnd, DWORD dwContextHelpId) 1481 1487 { 1482 dprintf(("USER32: SetWindowContextHelpId, not implemented")); 1483 hwnd = Win32BaseWindow::Win32ToOS2Handle(hwnd); 1484 1485 return(TRUE); 1486 } 1487 //****************************************************************************** 1488 //****************************************************************************** 1488 Win32BaseWindow *window; 1489 1490 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 1491 if(!window) { 1492 dprintf(("SetWindowContextHelpId, window %x not found", hwnd)); 1493 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 1494 return 0; 1495 } 1496 dprintf(("SetWindowContextHelpId %x %d", hwnd, dwContextHelpId)); 1497 window->setWindowContextHelpId(dwContextHelpId); 1498 return(TRUE); 1499 } 1500 //****************************************************************************** 1501 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.
