Ignore:
Timestamp:
Feb 13, 2003, 11:12:27 AM (23 years ago)
Author:
sandervl
Message:

Handle SetFocus(0) correctly: keystrokes are converted into WM_SYSKEYDOWN/(WM_SYSCHAR)/WM_SYSKEYUP messages

File:
1 edited

Legend:

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

    r9598 r9791  
    1 /* $Id: win32wbasenonclient.cpp,v 1.47 2003-01-03 16:35:57 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.48 2003-02-13 10:12:27 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    270270                //SvL: Calling topparent->SetActiveWindow() causes focus problems
    271271                ::SetActiveWindow(hwndTopParent);
    272 ////            OSLibWinSetFocus(topparent->getOS2WindowHandle());
     272////            SetFocus(topparent->getWindowHandle());
    273273            }
    274274            if (GetActiveWindow() == hwndTopParent)
     
    10711071    dprintf(("DoNCPaint %x %x %d", getWindowHandle(), clip, suppress_menupaint));
    10721072
    1073     if ( getStyle() & WS_MINIMIZE ||
     1073    if ( (getStyle() & WS_MINIMIZE) ||
    10741074         !IsWindowVisible( getWindowHandle() )) {
    10751075        return; /* Nothing to do */
    1076     }
     1076   }
    10771077
    10781078    rect.top    = rect.left = 0;
Note: See TracChangeset for help on using the changeset viewer.