Ignore:
Timestamp:
Nov 11, 1999, 2:17:33 PM (26 years ago)
Author:
sandervl
Message:

dlg fix, keyboard additions, + misc other things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/window.cpp

    r1606 r1704  
    1 /* $Id: window.cpp,v 1.33 1999-11-05 09:16:22 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.34 1999-11-11 13:17:32 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    11411141{
    11421142    dprintf(("USER32:  ChildWindowFromPoint\n"));
    1143 //    return O32_ChildWindowFromPoint(arg1, arg2);
    11441143    return ChildWindowFromPointEx(hwnd, pt, 0);
    11451144}
     
    13041303  return (0);
    13051304}
    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 */
     1308DWORD WINAPI SwitchToThisWindow( HWND hwnd, BOOL restore )
     1309{
     1310    return ShowWindow( hwnd, restore ? SW_RESTORE : SW_SHOWMINIMIZED );
    13261311}
    13271312//******************************************************************************
     
    14331418BOOL WIN32API OpenIcon(HWND hwnd)
    14341419{
    1435 #ifdef DEBUG
    1436   WriteLog("USER32:  OpenIcon\n");
    1437 #endif
     1420  dprintf(("USER32:  OpenIcon"));
     1421
    14381422  if(!IsIconic(hwnd))
    14391423        return FALSE;
     
    14501434//******************************************************************************
    14511435//******************************************************************************
    1452 
     1436HWND WIN32API GetForegroundWindow(void)
     1437{
     1438    dprintf(("USER32:  GetForegroundWindow"));
     1439    return Win32BaseWindow::OS2ToWin32Handle(O32_GetForegroundWindow());
     1440}
     1441//******************************************************************************
     1442//******************************************************************************
     1443HWND 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//******************************************************************************
     1452DWORD 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//******************************************************************************
     1461DWORD WIN32API GetWindowContextHelpId(HWND hwnd)
     1462{
     1463  dprintf(("USER32:  GetWindowContextHelpId, not implemented\n"));
     1464  hwnd = Win32BaseWindow::Win32ToOS2Handle(hwnd);
     1465
     1466  return(0);
     1467}
     1468//******************************************************************************
     1469//******************************************************************************
     1470BOOL 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.