Ignore:
Timestamp:
May 10, 2000, 3:14:44 PM (25 years ago)
Author:
sandervl
Message:

Get/SetForegroundWindow fixes/changes

File:
1 edited

Legend:

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

    r3501 r3513  
    1 /* $Id: window.cpp,v 1.66 2000-05-09 18:56:59 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.67 2000-05-10 13:14:44 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    775775    dprintf((" SetForegroundWindow %x", hwnd));
    776776
    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);
    778778}
    779779//******************************************************************************
     
    14221422HWND WIN32API GetForegroundWindow(void)
    14231423{
    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;
    14261429}
    14271430//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.